# BuildableComponentSpec

@Incubating
interface BuildableComponentSpec : Buildable, ComponentSpec(source)

A ComponentSpec that is directly Buildable via a specified task.

#### Inheritors

LanguageSourceSet
BinarySpec

## Functions

builtBy
Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>)
Adds tasks required to build this component.
getBuildDependencies
Link copied to clipboard
abstract fun getBuildDependencies(): TaskDependency
getBuildTask
Link copied to clipboard
@Nullable
abstract fun getBuildTask(): Task
Returns the task responsible for building this component.
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
getName
Link copied to clipboard
abstract fun getName(): String
getProjectPath
Link copied to clipboard
abstract fun getProjectPath(): String
hasBuildDependencies
Link copied to clipboard
abstract fun hasBuildDependencies(): Boolean
setBuildTask
Link copied to clipboard
abstract fun setBuildTask(@Nullable buildTask: Task)
Specifies the task responsible for building this component.