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.
Method | Description |
source(source) | Incubating Adds one or more |
Note: This property is incubating and may change in a future version of Gradle.
Can this binary be built in the current environment?
DomainObjectSet
<LanguageSourceSet
>
source
(read-only)
DomainObjectSet
<LanguageSourceSet
>Note: This property is incubating and may change in a future version of Gradle.
The source sets used to compile this binary.
void
source
(Object
source)
Note: This method is incubating and may change in a future version of Gradle.
Adds one or more LanguageSourceSet
s that are used to compile this binary.
This method accepts the following types:
- A
FunctionalSourceSet
- A
LanguageSourceSet
- A Collection of
LanguageSourceSet
s