ComponentIdentity
interface ComponentIdentity
com.android.build.api.variant.ComponentIdentity |
Variant Configuration represents the identify of a variant
This is computed from the list of build types and flavors.
Summary
Properties |
|
---|---|
abstract String? |
Build type name, might be replaced with access to locked DSL object once ready. |
abstract String? |
The multi-flavor name of the variant. |
abstract String |
Component's name. |
abstract List<Pair<String, String>> |
List of flavor names, might be replaced with access to locked DSL objects once ready. |
Properties
buildType
abstract val buildType: String?
Build type name, might be replaced with access to locked DSL object once ready.
flavorName
abstract val flavorName: String?
The multi-flavor name of the variant.
This does not include the build type. If no flavors are present, this will return null
The full name of the variant is queried via name.
productFlavors
abstract val productFlavors: List<Pair<String, String>>
List of flavor names, might be replaced with access to locked DSL objects once ready.
The order is properly sorted based on the associated dimension order.