An object representing a Variant (made of a build type and one or more flavors), and a boolean controlling whether this variant is to be excluded.
Property | Description |
buildType | The Build Type used by the variant. This is Read-Only version, as changing this object would have global impact. |
defaultConfig | The default config. This is a Read-Only version of the global
|
flavors | The list of Product Flavors for this variant. These are returned as Read-Only versions, as changing these objects would have global impact. |
ignore | Whether to ignore this variant. |
The Build Type used by the variant. This is Read-Only version, as changing this object would have global impact.
The default config. This is a Read-Only version of the global
android.defaultConfig
object.
List
<GroupableProductFlavor
>
flavors
(read-only)
List
<GroupableProductFlavor
>The list of Product Flavors for this variant. These are returned as Read-Only versions, as changing these objects would have global impact.