Android 12 Developer Preview is here! Try it out, and give us your feedback!

ApkPackagingOptions

@Incubating interface ApkPackagingOptions : PackagingOptions
com.android.build.api.variant.ApkPackagingOptions

Defines an APK variant's packaging options.

Summary

Public methods

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

PackagingOptions for dex files.

abstract Unit

PackagingOptions for native libraries.

Inherited functions

Properties

abstract DexPackagingOptions

PackagingOptions for dex files.

abstract JniLibsApkPackagingOptions

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: JniLibsApkPackagingOptions.() -> 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: JniLibsApkPackagingOptions

PackagingOptions for native libraries. Initialized from the corresponding DSL.