api / org.gradle.platform.base / ApplicationBinarySpec

ApplicationBinarySpec

@Incubating interface ApplicationBinarySpec : BinarySpec

A binary produced from a `org.gradle.platform.base.ApplicationSpec`.

Functions

getApplication

abstract fun getApplication(): ApplicationSpec

The application that this binary belongs to.

Inherited Functions

getInputs

abstract fun getInputs(): DomainObjectSet<LanguageSourceSet>

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).

getSources

abstract fun getSources(): ModelMap<LanguageSourceSet>

The sources owned by this binary.

getTasks

abstract fun getTasks(): BinaryTasksCollection

The set of tasks associated with this binary.

isBuildable

abstract fun isBuildable(): Boolean

Can this binary be built in the current environment?

Inheritors

NativeExecutableBinarySpec

interface NativeExecutableBinarySpec : NativeBinarySpec, ApplicationBinarySpec

An binary built by Gradle for a native application.

PlayApplicationBinarySpec

interface PlayApplicationBinarySpec : ApplicationBinarySpec

Represents a binary artifact that is the result of building a Play application software component.