Stay organized with collections Save and categorize content based on your preferences.

ApplicationExtension

@Incubating interface ApplicationExtension : CommonExtension<ApplicationBuildFeatures, ApplicationBuildType, ApplicationDefaultConfig, ApplicationProductFlavor>, 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>