ComponentIdentity

@Incubating interface ComponentIdentity : Named
Component

Component object that contains properties that must be set during configuration time as it changes the build flow for the variant.

ComponentProperties

AndroidTest

Variant of the android test artifact

AndroidTestProperties

Properties for the android test Variant of a module

ApplicationVariant

Application specific variant object that contains properties that will determine the variant's build flow.

ApplicationVariantProperties

Properties for the main Variant of an application.

DynamicFeatureVariant

DynamicFeatureVariantProperties

LibraryVariant

Variant type for library projects

LibraryVariantProperties

VariantProperties for Library projects

TestComponent

TestComponentProperties

TestVariant

Variant type for tests associated with a module.

TestVariantProperties

VariantProperties for test-only modules.

UnitTest

Variant of the unit test artifact

UnitTestProperties

Properties for the unit test Variant of a module

Variant

Variant object that contains properties that must be set during configuration time as it changes the build flow for the variant.

VariantProperties

Parent interface for all types of variants.

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