Package org.gradle.api
Interface BuildableComponentSpec
- All Superinterfaces:
- Buildable,- ComponentSpec,- ModelElement,- Named
- All Known Subinterfaces:
- ApplicationBinarySpec,- AssemblerSourceSet,- BinarySpec,- CppSourceSet,- CSourceSet,- CUnitTestSuiteBinarySpec,- DependentSourceSet,- DependentSourceSet,- GoogleTestTestSuiteBinarySpec,- HeaderExportingSourceSet,- LanguageSourceSet,- LibraryBinarySpec,- NativeBinarySpec,- NativeExecutableBinarySpec,- NativeLibraryBinarySpec,- NativeResourceSet,- NativeTestSuiteBinarySpec,- ObjectiveCppSourceSet,- ObjectiveCSourceSet,- SharedLibraryBinarySpec,- StaticLibraryBinarySpec,- TestSuiteBinarySpec,- WindowsResourceSet
- All Known Implementing Classes:
- org.gradle.api.internal.AbstractBuildableComponentSpec,- org.gradle.language.base.internal.AbstractLanguageSourceSet,- BaseBinarySpec,- BaseLanguageSourceSet
A 
ComponentSpec that is directly Buildable via a specified task.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds tasks required to build this component.Returns the task responsible for building this component.booleanvoidsetBuildTask(Task buildTask) Specifies the task responsible for building this component.Methods inherited from interface org.gradle.api.BuildablegetBuildDependenciesMethods inherited from interface org.gradle.platform.base.ComponentSpecgetProjectPathMethods inherited from interface org.gradle.model.ModelElementgetDisplayName, getName
- 
Method Details- 
getBuildTaskReturns the task responsible for building this component.
- 
setBuildTaskSpecifies the task responsible for building this component.
- 
builtByAdds tasks required to build this component. Tasks added this way are subsequently added as dependencies of this component'sbuild task.
- 
hasBuildDependenciesboolean hasBuildDependencies()
 
-