BinarySpec

API Documentation:BinarySpec

Note: This class is incubating and may change in a future version of Gradle.

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

Properties

PropertyDescription
buildable
Incubating

Can this binary be built in the current environment?

source
Incubating

The source sets used to compile this binary.

Methods

MethodDescription
source(source)
Incubating

Adds one or more LanguageSourceSets that are used to compile this binary.

Script blocks

No script blocks

Property details

boolean buildable (read-only)

Note: This property is incubating and may change in a future version of Gradle.

Can this binary be built in the current environment?

Note: This property is incubating and may change in a future version of Gradle.

The source sets used to compile this binary.

Method details

void source(Object source)

Note: This method is incubating and may change in a future version of Gradle.

Adds one or more LanguageSourceSets that are used to compile this binary.

This method accepts the following types: