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

ApplicationExtension

@Incubating interface ApplicationExtension<AndroidSourceSetT : AndroidSourceSet, BuildTypeT : ApplicationBuildType<SigningConfigT>, DefaultConfigT : ApplicationDefaultConfig<SigningConfigT>, ProductFlavorT : ApplicationProductFlavor<SigningConfigT>, SigningConfigT : SigningConfig> : CommonExtension<AndroidSourceSetT, ApplicationBuildFeatures, BuildTypeT, DefaultConfigT, ProductFlavorT, SigningConfigT, ApplicationVariant<ApplicationVariantProperties>, ApplicationVariantProperties>, ApkExtension, TestedExtension
com.android.build.api.dsl.ApplicationExtension

Extension for the Android Gradle Plugin Application plugin.

Only the Android Gradle Plugin should create instances of this interface.

Summary

Public methods

abstract Unit
bundle(action: Bundle.() -> Unit)

abstract Unit

Specify whether to include SDK dependency information in APKs and Bundles.

Inherited functions

Properties

abstract MutableSet<String>

Set of asset pack subprojects to be included in the app's bundle.

abstract Bundle

abstract DependenciesInfo

Specify whether to include SDK dependency information in APKs and Bundles.

abstract MutableSet<String>

Inherited properties

Public methods

bundle

abstract fun bundle(action: Bundle.() -> Unit): Unit

dependenciesInfo

abstract fun dependenciesInfo(action: DependenciesInfo.() -> Unit): Unit

Specify whether to include SDK dependency information in APKs and Bundles.

Properties

assetPacks

abstract val assetPacks: MutableSet<String>

Set of asset pack subprojects to be included in the app's bundle.

bundle

abstract val bundle: Bundle

dependenciesInfo

abstract val dependenciesInfo: DependenciesInfo

Specify whether to include SDK dependency information in APKs and Bundles.

dynamicFeatures

abstract val dynamicFeatures: MutableSet<String>