DexPackaging

public interface DexPackaging


Packaging options for Dex (Android Dalvik Executable) files

Summary

Public methods

abstract Boolean

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

abstract void
setUseLegacyPackaging(Boolean useLegacyPackaging)

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

Public methods

getUseLegacyPackaging

abstract Boolean getUseLegacyPackaging()

Whether to use the legacy convention of compressing all dex files in the APK. If null, dex files will be uncompressed when minSdk >= 28.

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

setUseLegacyPackaging

abstract void setUseLegacyPackaging(Boolean useLegacyPackaging)

Whether to use the legacy convention of compressing all dex files in the APK. If null, dex files will be uncompressed when minSdk >= 28.

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