API Documentation: | LibrarySpec |
---|
Note: This class is incubating and may change in a future version of Gradle.
A specification of a Library
.
Property | Description |
binaries | Incubating The binaries that are built for this component. You can use this to configure the binaries for this component. |
displayName | Incubating Returns a human-consumable display name for this component. |
source | Incubating The source sets that are used to build this component. |
Method | Description |
source(source) | Incubating Adds one or more |
DomainObjectSet
<T
>
binaries
(read-only)
DomainObjectSet
<T
>Note: This property is incubating and may change in a future version of Gradle.
The binaries that are built for this component. You can use this to configure the binaries for this component.
String
displayName
(read-only)
Note: This property is incubating and may change in a future version of Gradle.
Returns a human-consumable display name for this component.
DomainObjectSet
<LanguageSourceSet
>
source
(read-only)
DomainObjectSet
<LanguageSourceSet
>Note: This property is incubating and may change in a future version of Gradle.
The source sets that are used to build this component.
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