Interface for variant control, allowing to query a variant for some base data and allowing to disable some variants.
Property | Description |
buildType | The Build Type. |
defaultConfig | The ProductFlavor that represents the default config. |
flavors | The list of flavors, or an empty list. |
Method | Description |
setIgnore(ignore) | Sets whether or not to ignore this particular variant. Default is false. |
The ProductFlavor that represents the default config.
List
<com.android.builder.model.ProductFlavor
>
flavors
List
<com.android.builder.model.ProductFlavor
>The list of flavors, or an empty list.
Except as noted, this content is licensed under Apache 2.0.
For details and restrictions, see the Content License.