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.
| Type | Name and description |
|---|---|
void |
targetBuildTypes(String... buildTypeSelectors)Specifies the names of one or more BuildTypes that this component should be built for. |
void |
targetFlavors(String... flavorSelectors)Specifies the names of one or more Flavors that this component should be built for. |
| Methods inherited from class | Name |
|---|---|
interface PlatformAwareComponentSpec |
targetPlatform |
interface ComponentSpec |
getBinaries, getDisplayName, getProjectPath, getSource, getSources |
interface Named |
getName |