Dexing

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

Variant specific settings for creating dex files.

Summary

Properties

abstract RegularFileProperty

Text file that specifies additional classes that will be compiled into the main dex file.

abstract RegularFileProperty

Text file with additional ProGuard rules to be used to determine which classes are compiled into the main dex file.

Properties

multiDexKeepFile

abstract val multiDexKeepFile: RegularFileProperty

Text file that specifies additional classes that will be compiled into the main dex file.

Classes specified in the file are appended to the main dex classes computed using aapt.

If set, the file should contain one class per line, in the following format: com/example/MyClass.class

Initialized from DSL com.android.build.api.dsl.VariantDimension.multiDexKeepFile

multiDexKeepProguard

abstract val multiDexKeepProguard: RegularFileProperty

Text file with additional ProGuard rules to be used to determine which classes are compiled into the main dex file.

If set, rules from this file are used in combination with the default rules used by the build system.

Initialized from DSL com.android.build.api.dsl.VariantDimension.multiDexKeepProguard