Table of Contents
API Documentation: | NativeLibrarySpec |
---|
Note: This class is incubating and may change in a future version of Gradle.
Definition of a native library component that is to be built by Gradle.
Property | Description |
api | Incubating Converts this library to a native library requirement that uses the api library linkage. |
baseName | Incubating The name that is used to construct the output file names when building this component. |
binaries | Incubating The variants produced for this component spec. |
displayName | Incubating Returns a human-consumable display name for this element. |
shared | Incubating Converts this library to a native library requirement that uses the shared library variant. This is the default. |
static | Incubating Converts this library to a native library requirement that uses the static library variant. |
Method | Description |
targetBuildTypes(buildTypeSelectors) | Incubating Specifies the names of one or more |
targetFlavors(flavorSelectors) | Incubating Specifies the names of one or more |
targetPlatform(targetPlatform) | Incubating Specifies a platform that this component should be built be for. |
Note: This property is incubating and may change in a future version of Gradle.
Converts this library to a native library requirement that uses the api library linkage.
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.
Note: This property is incubating and may change in a future version of Gradle.
The variants produced for this component spec.
Note: This property is incubating and may change in a future version of Gradle.
Returns a human-consumable display name for this element.
Note: This property is incubating and may change in a future version of Gradle.
Converts this library to a native library requirement that uses the shared library variant. This is the default.
Note: This property is incubating and may change in a future version of Gradle.
Converts this library to a native library requirement that uses the static library variant.
Note: This method is incubating and may change in a future version of Gradle.
Specifies the names of one or more BuildType
s that this component should be built for.
Note: This method is incubating and may change in a future version of Gradle.
Specifies the names of one or more Flavor
s that this component should be built for.
Note: This method is incubating and may change in a future version of Gradle.
Specifies a platform that this component should be built be for.