@Incubating interface TargetedNativeComponent : PlatformAwareComponentSpec, NativeComponentSpec
A native component that can be configured to target certain variant dimensions. This functionality is a temporary workaround to eliminate configuration of unnecessary domain objects and tasks.
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. |
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 targetPlatform(targetPlatform: String): Unit
Specifies a platform that this component should be built be for. |
interface NativeExecutableSpec : ApplicationSpec, NativeComponentSpec, TargetedNativeComponent
Definition of a native executable component that is to be built by Gradle. |
|
interface NativeLibrarySpec : LibrarySpec, NativeComponentSpec, TargetedNativeComponent
Definition of a native library component that is to be built by Gradle. |