Exposes a read-only view of a variant as well as a flag that can be used to signal that the variant should be ignored.
Property | Description |
buildType | Returns a read-only Build Type. |
defaultConfig | Returns a read-only ProductFlavor that represents the default config. |
flavors | The list of read-only flavors, or an empty list. |
ignore | Whether to ignore this variant. |
Returns a read-only Build Type.
See BuildType
for properties present
on the returned object.
Returns a read-only ProductFlavor that represents the default config.
See ProductFlavor
for properties present
on the returned object.
List
<com.android.builder.model.ProductFlavor
>
flavors
List
<com.android.builder.model.ProductFlavor
>The list of read-only flavors, or an empty list.
See ProductFlavor
for properties
present on the returned objects.
Except as noted, this content is licensed under Apache 2.0.
For details and restrictions, see the Content License.