@Incubating public abstract class BaseBinarySpec extends AbstractBuildableModelElement
Base class for custom binary implementations. A custom implementation of BinarySpec must extend this type. TODO at the moment leaking BinarySpecInternal here to generate lifecycleTask in LanguageBasePlugin$createLifecycleTaskForBinary#createLifecycleTaskForBinary rule
Constructor and description |
---|
protected BaseBinarySpec
() |
Type | Name and description |
---|---|
static T |
create(Class<T> type, String name, Instantiator instantiator, ITaskFactory taskFactory) |
protected BinaryBuildAbility |
getBinaryBuildAbility() |
FunctionalSourceSet |
getBinarySources() |
BinaryBuildAbility |
getBuildAbility() |
String |
getDisplayName() |
String |
getName() |
DomainObjectSet<LanguageSourceSet> |
getSource() |
BinaryTasksCollection |
getTasks() |
protected String |
getTypeName() |
boolean |
isBuildable() |
boolean |
isLegacyBinary() |
void |
setBinarySources(FunctionalSourceSet sources) |
void |
setBuildable(boolean buildable) |
void |
source(Object source) |
void |
sources(Action<? super PolymorphicDomainObjectContainer<LanguageSourceSet>> action) |
void |
tasks(Action<? super BinaryTasksCollection> action) |
String |
toString() |