Dexing

Added in 8.4.0-rc02

@Incubating
interface Dexing


Settings related to how dex files are produced.

To change any of these settings :

androidComponents {
beforeVariants { variant ->
variant.dexing...
}
}

Summary

Public properties

Boolean
RegularFileProperty

If set, will point to a text file that specifies additional classes that will be compiled into the main dex file.

RegularFileProperty

If set, will point to the multiDex proguard file

Public properties

isMultiDexEnabled

Added in 8.4.0-rc02
val isMultiDexEnabledBoolean

multiDexKeepFile

Added in 8.4.0-rc02
val multiDexKeepFileRegularFileProperty

If set, will point to a text file that specifies additional classes that will be compiled into the main dex file.

Note that the GeneratesApkBuilder.enableMultiDex must be set to true for this property to be used.

multiDexKeepProguard

Added in 8.4.0-rc02
val multiDexKeepProguardRegularFileProperty

If set, will point to the multiDex proguard file

Note that the GeneratesApkBuilder.enableMultiDex must be set to true for this property to be used.