# BinarySpec

@Incubating
interface BinarySpec : BuildableComponentSpec, CheckableComponentSpec, Binary

Represents a binary that is the result of building a component.

#### Inheritors

NativeBinarySpec
TestSuiteBinarySpec
ApplicationBinarySpec
LibraryBinarySpec

## Functions

builtBy
Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>)
checkedBy
Link copied to clipboard
abstract fun checkedBy(tasks: Array<Any>)
getBuildDependencies
Link copied to clipboard
abstract fun getBuildDependencies(): TaskDependency
getBuildTask
Link copied to clipboard
abstract fun getBuildTask(): @Nullable Task
getCheckTask
Link copied to clipboard
abstract fun getCheckTask(): @Nullable Task
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
getInputs
Link copied to clipboard
abstract fun getInputs(): DomainObjectSet<LanguageSourceSet>
Returns all inputs of the binary.
getName
Link copied to clipboard
abstract fun getName(): String
getProjectPath
Link copied to clipboard
abstract fun getProjectPath(): String
getSources
Link copied to clipboard
abstract fun getSources(): ModelMap<LanguageSourceSet>
The sources owned by this binary.
getTasks
Link copied to clipboard
abstract fun getTasks(): BinaryTasksCollection
The set of tasks associated with this binary.
hasBuildDependencies
Link copied to clipboard
abstract fun hasBuildDependencies(): Boolean
isBuildable
Link copied to clipboard
abstract fun isBuildable(): Boolean
Can this binary be built in the current environment?
setBuildTask
Link copied to clipboard
abstract fun setBuildTask(buildTask: @Nullable Task)
setCheckTask
Link copied to clipboard
abstract fun setCheckTask(checkTask: @Nullable Task)