Package org.gradle.platform.base
Interface BinarySpec
- All Superinterfaces:
- Binary,- Buildable,- BuildableComponentSpec,- CheckableComponentSpec,- ComponentSpec,- ModelElement,- Named
- All Known Subinterfaces:
- ApplicationBinarySpec,- CUnitTestSuiteBinarySpec,- GoogleTestTestSuiteBinarySpec,- LibraryBinarySpec,- NativeBinarySpec,- NativeExecutableBinarySpec,- NativeLibraryBinarySpec,- NativeTestSuiteBinarySpec,- SharedLibraryBinarySpec,- StaticLibraryBinarySpec,- TestSuiteBinarySpec
- All Known Implementing Classes:
- BaseBinarySpec
@Incubating
public interface BinarySpec
extends BuildableComponentSpec, CheckableComponentSpec, Binary
Represents a binary that is the result of building a component.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method SummaryModifier and TypeMethodDescriptionReturns all inputs of the binary.The sources owned by this binary.getTasks()The set of tasks associated with this binary.booleanCan this binary be built in the current environment?Methods inherited from interface org.gradle.platform.base.BinarygetDisplayNameMethods inherited from interface org.gradle.api.BuildablegetBuildDependenciesMethods inherited from interface org.gradle.api.BuildableComponentSpecbuiltBy, getBuildTask, hasBuildDependencies, setBuildTaskMethods inherited from interface org.gradle.api.CheckableComponentSpeccheckedBy, getCheckTask, setCheckTaskMethods inherited from interface org.gradle.platform.base.ComponentSpecgetProjectPathMethods inherited from interface org.gradle.model.ModelElementgetDisplayName, getName
- 
Method Details- 
isBuildableboolean isBuildable()Can this binary be built in the current environment?
- 
getSourcesModelMap<LanguageSourceSet> getSources()The sources owned by this binary.- Returns:
- the sources owned by the binary.
 
- 
getInputsDomainObjectSet<LanguageSourceSet> getInputs()Returns all inputs of the binary. This includes source sets owned by the binary, and other source sets created elsewhere (e.g. inherited from the binary's component).- Returns:
- all inputs of the binary.
 
- 
getTasksBinaryTasksCollection getTasks()The set of tasks associated with this binary.
 
-