DexPackagingOptions

@Incubating interface DexPackagingOptions
com.android.build.api.variant.DexPackagingOptions

Defines an APK variant's packaging options for dex files.

Summary

Properties

abstract Property<Boolean>

Whether to use the legacy convention of compressing all dex files in the APK.

Properties

useLegacyPackaging

abstract val useLegacyPackaging: Property<Boolean>

Whether to use the legacy convention of compressing all dex files in the APK.

This property does not affect dex file compression in APKs produced from app bundles.