@Incubating interface NativeLibrarySpec : LibrarySpec, NativeComponentSpec, TargetedNativeComponent
Definition of a native library component that is to be built by Gradle.
abstract fun getApi(): NativeLibraryRequirement
Converts this library to a native library requirement that uses the api library linkage. |
|
abstract fun getShared(): NativeLibraryRequirement
Converts this library to a native library requirement that uses the shared library variant. This is the default. |
|
abstract fun getStatic(): NativeLibraryRequirement
Converts this library to a native library requirement that uses the static library variant. |
abstract fun getBaseName(): String
The name that is used to construct the output file names when building this component. |
|
abstract fun setBaseName(baseName: String): Unit
Sets the name that is used to construct the output file names when building this component. |
|
abstract fun targetBuildTypes(vararg buildTypeSelectors: String): Unit
Specifies the names of one or more BuildTypes that this component should be built for. |
|
abstract fun targetFlavors(vararg flavorSelectors: String): Unit
Specifies the names of one or more Flavors that this component should be built for. |