ComponentIdentity

@Incubating interface ComponentIdentity : Named
com.android.build.api.component.ComponentIdentity

Variant Configuration represents the identify of a variant

This is computed from the list of build type 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 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 is an empty string.

The full name of the variant is queried via getName

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