Buildable, ComponentSpec, ModelElement, NamedApplicationBinarySpec, AssemblerSourceSet, BinarySpec, CppSourceSet, CSourceSet, CUnitTestSuiteBinarySpec, DependentSourceSet, DependentSourceSet, GoogleTestTestSuiteBinarySpec, HeaderExportingSourceSet, LanguageSourceSet, LibraryBinarySpec, NativeBinarySpec, NativeExecutableBinarySpec, NativeLibraryBinarySpec, NativeResourceSet, NativeTestSuiteBinarySpec, ObjectiveCppSourceSet, ObjectiveCSourceSet, SharedLibraryBinarySpec, StaticLibraryBinarySpec, TestSuiteBinarySpec, WindowsResourceSetorg.gradle.api.internal.AbstractBuildableComponentSpec, org.gradle.language.base.internal.AbstractLanguageSourceSet, BaseBinarySpec, BaseLanguageSourceSet@Incubating public interface BuildableComponentSpec extends Buildable, ComponentSpec
ComponentSpec that is directly Buildable via a specified task.Named.Namer| Modifier and Type | Method | Description |
|---|---|---|
void |
builtBy(java.lang.Object... tasks) |
Adds tasks required to build this component.
|
Task |
getBuildTask() |
Returns the task responsible for building this component.
|
boolean |
hasBuildDependencies() |
|
void |
setBuildTask(Task buildTask) |
Specifies the task responsible for building this component.
|
getBuildDependenciesgetProjectPathgetDisplayName, getName@Nullable Task getBuildTask()
void setBuildTask(@Nullable
Task buildTask)
void builtBy(java.lang.Object... tasks)
build task.boolean hasBuildDependencies()