ApplicationExtension

interface ApplicationExtension : CommonExtension<ApplicationBuildFeatures, ApplicationBuildType, ApplicationDefaultConfig, ApplicationProductFlavor>, ApkExtension, TestedExtension
com.android.build.api.dsl.ApplicationExtension

Extension for the Android Gradle Plugin Application plugin.

This is the android block when the com.android.application plugin is applied.

Only the Android Gradle Plugin should create instances of interfaces in com.android.build.api.dsl.

Summary

Public methods

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

abstract Unit

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

abstract Unit

Customizes publishing build variant artifacts from app module to a Maven repository.

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>

abstract ApplicationPublishing

Customizes publishing build variant artifacts from app module to a Maven repository.

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.

publishing

abstract fun publishing(action: ApplicationPublishing.() -> Unit): Unit

Customizes publishing build variant artifacts from app module to a Maven repository.

For more information about the properties you can configure in this block, see ApplicationPublishing

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>

publishing

abstract val publishing: ApplicationPublishing

Customizes publishing build variant artifacts from app module to a Maven repository.

For more information about the properties you can configure in this block, see ApplicationPublishing