Google is committed to advancing racial equity for Black communities. See how.

DynamicFeatureVariant

@Incubating interface DynamicFeatureVariant : Variant
com.android.build.api.variant.DynamicFeatureVariant

Summary

Public methods

abstract Unit
aaptOptions(action: Aapt.() -> Unit)

Variant's aaptOptions, initialized by the corresponding global DSL element.

abstract Unit
packaging(action: ApkPackaging.() -> Unit)

Variant's packagingOptions, initialized by the corresponding global DSL element.

Inherited functions

Properties

abstract Aapt

Variant's aaptOptions, initialized by the corresponding global DSL element.

abstract Provider<String>

Variant's application ID as present in the final manifest file of the APK.

abstract ApkPackaging

Variant's packagingOptions, initialized by the corresponding global DSL element.

Inherited properties

Public methods

aaptOptions

abstract fun aaptOptions(action: Aapt.() -> Unit): Unit

Variant's aaptOptions, initialized by the corresponding global DSL element.

packaging

abstract fun packaging(action: ApkPackaging.() -> Unit): Unit

Variant's packagingOptions, initialized by the corresponding global DSL element.

Properties

aapt

abstract val aapt: Aapt

Variant's aaptOptions, initialized by the corresponding global DSL element.

applicationId

abstract val applicationId: Provider<String>

Variant's application ID as present in the final manifest file of the APK.

This is a read-ony value in this type of project as this is fed by the base module

packaging

abstract val packaging: ApkPackaging

Variant's packagingOptions, initialized by the corresponding global DSL element.