BaseBinarySpec

open class BaseBinarySpec : AbstractBuildableComponentSpec, BinarySpecInternal(source)

Base class that may be used for custom BinarySpec implementations. However, it is generally better to use an interface annotated with org.gradle.model.Managed and not use an implementation class at all.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var buildTask: Task
Link copied to clipboard
open var checkTask: Task
Link copied to clipboard
val identifier: ComponentSpecIdentifier
Link copied to clipboard
open var namingScheme: BinaryNamingScheme
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>)
open fun builtBy(tasks: Array<Any>)
Adds tasks required to build this component.
Link copied to clipboard
abstract fun checkedBy(tasks: Array<Any>)
open fun checkedBy(tasks: Array<Any>)
Adds tasks required to check this component.
Link copied to clipboard
open fun <T : BaseBinarySpec?> create(publicType: Class<out BinarySpec>, implementationType: Class<T>, componentId: ComponentSpecIdentifier, modelNode: MutableModelNode, @Nullable componentNode: @Nullable MutableModelNode, instantiator: Instantiator, taskInstantiator: NamedEntityInstantiator<Task>, collectionCallbackActionDecorator: CollectionCallbackActionDecorator, domainObjectCollectionFactory: DomainObjectCollectionFactory): T
Creates a BaseBinarySpec.
Link copied to clipboard
fun getBuildAbility(): BinaryBuildAbility
Link copied to clipboard
Returns a dependency which contains the tasks which build this artifact.
Link copied to clipboard
@Nullable
open fun getComponent(): @Nullable ComponentSpec
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-consumable display name for this element.
Link copied to clipboard
Link copied to clipboard
Returns all inputs of the binary.
Link copied to clipboard
abstract fun getName(): String
open fun getName(): String
Returns the name of this element.
Link copied to clipboard
abstract fun getNamingScheme(): BinaryNamingScheme
Link copied to clipboard
abstract fun getProjectPath(): String
The path to the project containing this component.
Link copied to clipboard
Link copied to clipboard
abstract fun getPublicType(): Class<out BinarySpec>
Link copied to clipboard
The sources owned by this binary.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Can this binary be built in the current environment?
Link copied to clipboard
Link copied to clipboard
open fun replaceSingleDirectory(dirs: Set<File>, dir: File)
Link copied to clipboard
open fun setBuildable(buildable: Boolean)
Link copied to clipboard
abstract fun setNamingScheme(namingScheme: BinaryNamingScheme)
Link copied to clipboard
open fun toString(): String