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

ApkPackaging

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

Defines an APK variant's packaging options.

Summary

Properties

abstract DexPackagingOptions

PackagingOptions for dex files.

abstract JniLibsApkPackaging

PackagingOptions for native libraries.

Inherited properties

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.