VariantFilter

interface VariantFilter


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

Summary

Public properties

BuildType

Returns the Build Type.

ProductFlavor

Returns the ProductFlavor that represents the default config.

List<ProductFlavor>

Returns the list of flavors, or an empty list.

Boolean

Whether or not to ignore this particular variant.

String

Returns the unique variant name.

Public properties

buildType

val buildTypeBuildType

Returns the Build Type.

defaultConfig

val defaultConfigProductFlavor

Returns the ProductFlavor that represents the default config.

flavors

val flavorsList<ProductFlavor>

Returns the list of flavors, or an empty list.

ignore

val ignoreBoolean

Whether or not to ignore this particular variant. Default is false.

name

val nameString

Returns the unique variant name.