# TestVariantDimension

# TestVariantDimension

<br />

```
interface TestVariantDimension : VariantDimension
```

<br />

Known direct subclasses  
[TestBaseFlavor](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestBaseFlavor),[TestBuildType](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestBuildType)  

|-------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [TestBaseFlavor](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestBaseFlavor) |                                                                                                                                                                                   |
| [TestBuildType](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestBuildType)   | Build types define certain properties that Gradle uses when building and packaging your library, and are typically configured for different stages of your development lifecycle. |

Known indirect subclasses  
[TestDefaultConfig](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestDefaultConfig),[TestProductFlavor](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestProductFlavor)  

|-------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|
| [TestDefaultConfig](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestDefaultConfig) | Specifies defaults for properties that the Android test plugin applies to all build variants. |
| [TestProductFlavor](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestProductFlavor) | Encapsulates all product flavors properties for test projects.                                |

*** ** * ** ***

Shared properties between DSL objects that contribute to a separate-test-project variant.

That is,[TestBuildType](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestBuildType)and[TestProductFlavor](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestProductFlavor)and[TestDefaultConfig](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestDefaultConfig).

## Summary

|                                                                                                                                                                    ### Public properties                                                                                                                                                                     ||
|--------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?`                                          | [multiDexEnabled](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestVariantDimension#multiDexEnabled()) Returns whether multi-dex is enabled.                                       |
| [ApkSigningConfig](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ApkSigningConfig)`?` | [signingConfig](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestVariantDimension#signingConfig()) The associated signing config or null if none are set on the variant dimension. |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ### Inherited functions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| From class[com.android.build.api.dsl.VariantDimension](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension) |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)                | [addManifestPlaceholders](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#addManifestPlaceholders(kotlin.collections.Map))`(manifestPlaceholders: `[Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`>)` Adds manifest placeholders.                                                                                                                                       | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)                | [buildConfigField](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#buildConfigField(kotlin.String,kotlin.String,kotlin.String))`(type: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, value: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Adds a new field to the generated BuildConfig class.                                                                                                            | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)                | [externalNativeBuild](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#externalNativeBuild(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[ExternalNativeBuildOptions](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ExternalNativeBuildOptions)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` Encapsulates per-variant CMake and ndk-build configurations for your external native build. | | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)                                                                                                          | [javaCompileOptions](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#javaCompileOptions(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[JavaCompileOptions](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/JavaCompileOptions)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` Options for configuring Java compilation.                                                                     | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)                | [ndk](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#ndk(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[Ndk](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Ndk)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` Encapsulates per-variant configurations for the NDK, such as ABI filters.                                                                                                 | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)                | [optimization](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#optimization(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[Optimization](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Optimization)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`                                                                                                                                       | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                  | [proguardFile](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#proguardFile(kotlin.Any))`(proguardFile: `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`)` Adds a new ProGuard configuration file.                                                                                                                                                                                                                                                                                                                                                   | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                  | [proguardFiles](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#proguardFiles(kotlin.Array))`(vararg files: `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`)` Adds new ProGuard configuration files.                                                                                                                                                                                                                                                                                                                                                | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)                | [resValue](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#resValue(kotlin.String,kotlin.String,kotlin.String))`(type: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, value: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Adds a new generated resource.                                                                                                                                                  | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Void](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Void.html)`?` | ~~[setManifestPlaceholders](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#setManifestPlaceholders(kotlin.collections.Map))~~`(manifestPlaceholders: `[Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`>)` **This function is deprecated.**Use manifestPlaceholders property instead                                                                                     | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                  | [setProguardFiles](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#setProguardFiles(kotlin.collections.Iterable))`(proguardFileIterable: `[Iterable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html)`<*>)` Replaces the ProGuard configuration files.                                                                                                                                                                                                                                                                                      | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)                | [shaders](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#shaders(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[Shaders](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Shaders)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` Configure the shader compiler options.                                                                                                                    | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                  | [testProguardFile](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#testProguardFile(kotlin.Any))`(proguardFile: `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`)` Adds a proguard rule file to be used when processing test code.                                                                                                                                                                                                                                                                                                                   | | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                  | [testProguardFiles](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#testProguardFiles(kotlin.Array))`(vararg proguardFiles: `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`)` Adds proguard rule files to be used when processing test code.                                                                                                                                                                                                                                                                                                        | |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ### Inherited properties                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| From class[com.android.build.api.dsl.VariantDimension](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension) |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [ExternalNativeBuildOptions](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ExternalNativeBuildOptions)                                                                                                                           | [externalNativeBuild](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#externalNativeBuild()) Encapsulates per-variant CMake and ndk-build configurations for your external native build.                           | | [JavaCompileOptions](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/JavaCompileOptions)                                                                                                                                           | [javaCompileOptions](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#javaCompileOptions()) Options for configuring Java compilation.                                                                               | | [MutableMap](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-map/index.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`>` | [manifestPlaceholders](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#manifestPlaceholders()) The manifest placeholders.                                                                                          | | [File](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/File.html)`?`                                                                                                                                                                                 | [multiDexKeepFile](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#multiDexKeepFile()) **This property is deprecated.**This property is deprecated.                                                                | | [File](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/File.html)`?`                                                                                                                                                                                 | [multiDexKeepProguard](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#multiDexKeepProguard()) Text file with additional ProGuard rules to be used to determine which classes are compiled into the main dex file. | | [Ndk](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Ndk)                                                                                                                                                                         | [ndk](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#ndk()) Encapsulates per-variant configurations for the NDK, such as ABI filters.                                                                             | | [Optimization](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Optimization)                                                                                                                                                       | [optimization](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#optimization())                                                                                                                                     | | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`<`[File](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/File.html)`>`                                                                       | [proguardFiles](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#proguardFiles()) Specifies the ProGuard configuration files that the plugin should use.                                                            | | [Shaders](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Shaders)                                                                                                                                                                 | [shaders](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#shaders()) Options for configuring the shader compiler.                                                                                                  | | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`<`[File](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/File.html)`>`                                                                       | [testProguardFiles](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/VariantDimension#testProguardFiles()) The collection of proguard rule files to be used when processing test code.                                               | |

## Public properties

### multiDexEnabled

```
var multiDexEnabled: Boolean?
```

Returns whether multi-dex is enabled.

This can be null if the flag is not set, in which case the default value is used.  

### signingConfig

```
var signingConfig: ApkSigningConfig?
```

The associated signing config or null if none are set on the variant dimension.