VariantFilter
interface VariantFilter
| com.android.build.api.variant.VariantFilter |
Interface for variant control, allowing to query a variant for some base data and allowing to disable some variants.
Summary
Properties |
|
|---|---|
| abstract BuildType |
Returns the Build Type. |
| abstract ProductFlavor |
Returns the ProductFlavor that represents the default config. |
| abstract List<ProductFlavor> |
Returns the list of flavors, or an empty list. |
| abstract Boolean |
Whether or not to ignore this particular variant. |
| abstract String |
Returns the unique variant name. |
Properties
buildType
abstract val buildType: BuildType
Returns the Build Type.
defaultConfig
abstract val defaultConfig: ProductFlavor
Returns the ProductFlavor that represents the default config.
ignore
abstract var ignore: Boolean
Whether or not to ignore this particular variant. Default is false.