ComponentProperties

@Incubating interface ComponentProperties : ComponentIdentity, ActionableComponentObject
TestComponentProperties

VariantProperties

Parent interface for all types of variants.

AndroidTestProperties

Properties for the android test Variant of a module

ApplicationVariantProperties

Properties for the main Variant of an application.

DynamicFeatureVariantProperties

LibraryVariantProperties

VariantProperties for Library projects

TestVariantProperties

VariantProperties for test-only modules.

UnitTestProperties

Properties for the unit test Variant of a module

Summary

Properties

abstract Artifacts

Access to the variant's buildable artifacts for build customization.

Inherited properties

String? buildType

Build Type name, might be replaced with access to locked DSL object once ready

String flavorName

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

List<Pair<String, String>> productFlavors

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

Properties

artifacts

abstract val artifacts: Artifacts

Access to the variant's buildable artifacts for build customization.