Interface BuildableComponentSpec
- All Superinterfaces:
Buildable, ComponentSpec, ModelElement, Named
- All Known Subinterfaces:
ApplicationBinarySpec, AssemblerSourceSet, BinarySpec, ClassDirectoryBinarySpec, CoffeeScriptSourceSet, CppSourceSet, CSourceSet, CUnitTestSuiteBinarySpec, DependentSourceSet, DependentSourceSet, GoogleTestTestSuiteBinarySpec, HeaderExportingSourceSet, JarBinarySpec, JavaScriptSourceSet, JavaSourceSet, JUnitTestSuiteBinarySpec, JvmBinarySpec, JvmClasses, JvmResourceSet, JvmTestSuiteBinarySpec, LanguageSourceSet, LibraryBinarySpec, NativeBinarySpec, NativeExecutableBinarySpec, NativeLibraryBinarySpec, NativeResourceSet, NativeTestSuiteBinarySpec, ObjectiveCppSourceSet, ObjectiveCSourceSet, PlayApplicationBinarySpec, PublicAssets, RoutesSourceSet, ScalaLanguageSourceSet, SharedLibraryBinarySpec, StaticLibraryBinarySpec, TestSuiteBinarySpec, TwirlSourceSet, VisualStudioProject, VisualStudioSolution, 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 Summary
Nested classes/interfaces inherited from interface Named
Named.Namer -
Method Summary
Modifier 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 Buildable
getBuildDependenciesMethods inherited from interface ComponentSpec
getProjectPathMethods inherited from interface ModelElement
getDisplayName, getName
-
Method Details
-
getBuildTask
Returns the task responsible for building this component. -
setBuildTask
Specifies the task responsible for building this component. -
builtBy
Adds tasks required to build this component. Tasks added this way are subsequently added as dependencies of this component'sbuild task. -
hasBuildDependencies
boolean hasBuildDependencies()
-