VariantFilter

Interface for variant control, allowing to query a variant for some base data and allowing to disable some variants.

Properties

PropertyDescription
buildType

The Build Type.

defaultConfig

The ProductFlavor that represents the default config.

flavors

The list of flavors, or an empty list.

Methods

MethodDescription
setIgnore(ignore)

Sets whether or not to ignore this particular variant. Default is false.

Script blocks

No script blocks

Property details

BuildType buildType

The Build Type.

ProductFlavor defaultConfig

The ProductFlavor that represents the default config.

List<ProductFlavor> flavors

The list of flavors, or an empty list.

Method details

void setIgnore(boolean ignore)

Sets whether or not to ignore this particular variant. Default is false.