Android 12 Developer Preview is here! Try it out, and give us your feedback!

DynamicFeatureVariant

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

Summary

Inherited functions

Properties

abstract AndroidResources

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

abstract AndroidTest?

Variant's AndroidTest configuration, or null if android tests are disabled for this variant.

abstract Provider<String>

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

abstract Dexing

Variant settings related to transforming bytecodes into dex files initialized from the corresponding fields in the DSL.

abstract ApkPackaging

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

abstract Renderscript?

Variant specific settings for the renderscript compiler.

Inherited properties

Properties

androidResources

abstract val androidResources: AndroidResources

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

androidTest

abstract val androidTest: AndroidTest?

Variant's AndroidTest configuration, or null if android tests are disabled for this variant.

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

dexing

abstract val dexing: Dexing

Variant settings related to transforming bytecodes into dex files initialized from the corresponding fields in the DSL.

packaging

abstract val packaging: ApkPackaging

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

renderscript

abstract val renderscript: Renderscript?

Variant specific settings for the renderscript compiler. This will return null when com.android.build.api.dsl.BuildFeatures.renderScript is false.