API Documentation: | TargetedNativeComponent |
---|
Note: This class is incubating and may change in a future version of Gradle.
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.
Method | Description |
targetBuildTypes(platformSelectors) | Incubating Specifies the names of one or more |
targetFlavors(flavorSelectors) | Incubating Specifies the names of one or more |
targetPlatforms(platformSelectors) | Incubating Specifies the names of one or more |
void
targetBuildTypes
(String
...
platformSelectors)
String
...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.
void
targetFlavors
(String
...
flavorSelectors)
String
...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.
void
targetPlatforms
(String
...
platformSelectors)
String
...Note: This method is incubating and may change in a future version of Gradle.
Specifies the names of one or more Platform
s that this component should be built for.