Represents a binary artifact that is the result of building a project component.
Type | Name and description |
---|---|
String |
getDisplayName() Returns a human-consumable display name for this binary. |
DomainObjectSet<LanguageSourceSet> |
getSource() The source sets used to compile this binary. |
BinaryTasksCollection |
getTasks() The set of tasks associated with this binary. |
boolean |
isBuildable() Can this binary be built in the current environment? |
void |
source(Object source) Adds one or more LanguageSourceSets that are used to compile this binary. |
void |
sources(Action<? super PolymorphicDomainObjectContainer<LanguageSourceSet>> action) Configures the source sets used to build this binary. |
void |
tasks(Action<? super BinaryTasksCollection> action) Configures the tasks that build this binary. |
Methods inherited from class | Name |
---|---|
interface BuildableModelElement |
builtBy, getBuildTask, hasBuildDependencies, setBuildTask, getBuildDependencies |
interface Named |
getName |
Returns a human-consumable display name for this binary.
The source sets used to compile this binary.
The set of tasks associated with this binary.
Can this binary be built in the current environment?
Adds one or more LanguageSourceSets that are used to compile this binary.
This method accepts the following types:Configures the source sets used to build this binary.
Configures the tasks that build this binary.