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

ApkPackaging

@Incubating interface ApkPackaging : Packaging
com.android.build.api.variant.ApkPackaging

Defines an APK variant's packaging options.

Summary

Public methods

abstract Unit
dex(action: DexPackagingOptions.() -> Unit)

PackagingOptions for dex files.

abstract Unit
jniLibs(action: JniLibsApkPackaging.() -> Unit)

PackagingOptions for native libraries.

Inherited functions

Properties

abstract DexPackagingOptions

PackagingOptions for dex files.

abstract JniLibsApkPackaging

PackagingOptions for native libraries.

Inherited properties

Public methods

dex

abstract fun dex(action: DexPackagingOptions.() -> Unit): Unit

PackagingOptions for dex files. Initialized from the corresponding DSL.

jniLibs

abstract fun jniLibs(action: JniLibsApkPackaging.() -> Unit): Unit

PackagingOptions for native libraries. Initialized from the corresponding DSL.

Properties

dex

abstract val dex: DexPackagingOptions

PackagingOptions for dex files. Initialized from the corresponding DSL.

jniLibs

abstract val jniLibs: JniLibsApkPackaging

PackagingOptions for native libraries. Initialized from the corresponding DSL.