# Dexing

# Dexing

[View Source](https://cs.android.com/search?q=file:com/android/build/api/variant/Dexing.kt+class:com.android.build.api.variant.Dexing)  
Added in 8.3.1  

<br />

```
@Incubating
interface Dexing
```

<br />

*** ** * ** ***

Settings related to how dex files are produced.

To change any of these settings :  

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

## Summary

|                                            ### Public properties                                            |
|-------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                          | [isMultiDexEnabled](https://developer.android.com/reference/tools/gradle-api/8.12/com/android/build/api/variant/Dexing#isMultiDexEnabled())                                                                                                                 |
| [RegularFileProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFileProperty.html) | [multiDexKeepFile](https://developer.android.com/reference/tools/gradle-api/8.12/com/android/build/api/variant/Dexing#multiDexKeepFile()) If set, will point to a text file that specifies additional classes that will be compiled into the main dex file. |
| [RegularFileProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFileProperty.html) | [multiDexKeepProguard](https://developer.android.com/reference/tools/gradle-api/8.12/com/android/build/api/variant/Dexing#multiDexKeepProguard()) If set, will point to the multiDex proguard file                                                          |

## Public properties

### isMultiDexEnabled

Added in 8.3.1  

```
val isMultiDexEnabled: Boolean
```  

### multiDexKeepFile

Added in 8.3.1  

```
val multiDexKeepFile: RegularFileProperty
```

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](https://developer.android.com/reference/tools/gradle-api/8.12/com/android/build/api/variant/GeneratesApkBuilder#enableMultiDex())must be set to true for this property to be used.  

### multiDexKeepProguard

Added in 8.3.1  

```
val multiDexKeepProguard: RegularFileProperty
```

If set, will point to the multiDex proguard file

Note that the[GeneratesApkBuilder.enableMultiDex](https://developer.android.com/reference/tools/gradle-api/8.12/com/android/build/api/variant/GeneratesApkBuilder#enableMultiDex())must be set to true for this property to be used.