ApplicationExtension
interface ApplicationExtension : CommonExtension, ApkExtension, TestedExtension
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 functions |
|
---|---|
Unit |
bundle(action: @ExtensionFunctionType Bundle.() -> Unit) |
Unit |
dependenciesInfo(action: @ExtensionFunctionType DependenciesInfo.() -> Unit) Specify whether to include SDK dependency information in APKs and Bundles. |
Unit |
publishing(action: @ExtensionFunctionType ApplicationPublishing.() -> Unit) Customizes publishing build variant artifacts from app module to a Maven repository. |
Public properties |
|
---|---|
MutableSet<String> |
Set of asset pack subprojects to be included in the app's bundle. |
Bundle |
|
DependenciesInfo |
Specify whether to include SDK dependency information in APKs and Bundles. |
MutableSet<String> |
|
ApplicationPublishing |
Customizes publishing build variant artifacts from app module to a Maven repository. |
Inherited functions |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Inherited properties |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Public functions
dependenciesInfo
fun dependenciesInfo(action: @ExtensionFunctionType DependenciesInfo.() -> Unit): Unit
Specify whether to include SDK dependency information in APKs and Bundles.
publishing
fun publishing(action: @ExtensionFunctionType 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
Public properties
assetPacks
val assetPacks: MutableSet<String>
Set of asset pack subprojects to be included in the app's bundle.
dependenciesInfo
val dependenciesInfo: DependenciesInfo
Specify whether to include SDK dependency information in APKs and Bundles.
publishing
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