API Documentation: | Library |
---|
Note: This class is incubating and may change in a future version of Gradle.
The logical representation of an library native component.
Property | Description |
baseName | Incubating The name that is used to construct the output file names when building this component. |
binaries | Incubating The binaries that are built for this component. You can use this to configure the binaries for this component. |
headers | Incubating The headers exported by this library. |
shared | Incubating Converts this library to a native dependency that uses the shared library variant. This is the default. |
source | Incubating The source sets that are used to build this component. |
static | Incubating Converts this library to a native dependency that uses the static library variant. |
String
baseName
Note: This property is incubating and may change in a future version of Gradle.
The name that is used to construct the output file names when building this component.
DomainObjectSet
<NativeBinary
>
binaries
(read-only)
DomainObjectSet
<NativeBinary
>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.
SourceDirectorySet
headers
(read-only)
Note: This property is incubating and may change in a future version of Gradle.
The headers exported by this library.
NativeDependencySet
shared
(read-only)
Note: This property is incubating and may change in a future version of Gradle.
Converts this library to a native dependency that uses the shared library variant. This is the default.
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.
NativeDependencySet
static
(read-only)
Note: This property is incubating and may change in a future version of Gradle.
Converts this library to a native dependency that uses the static library variant.
Method | Description |
source(sourceSet) | Incubating Adds some source to use to build this component. |
void
source
(LanguageSourceSet
sourceSet)
Note: This method is incubating and may change in a future version of Gradle.
Adds some source to use to build this component.