# DefaultConfig

# DefaultConfig

```
@Incubating interface DefaultConfig : BaseFlavor
```

|--------------------------------------------------------------------------------------------------------------------------------------------------|
| [com.android.build.api.dsl.DefaultConfig](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/DefaultConfig#) |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [ApplicationDefaultConfig](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/ApplicationDefaultConfig), [DynamicFeatureDefaultConfig](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/DynamicFeatureDefaultConfig), [LibraryDefaultConfig](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/LibraryDefaultConfig), [TestDefaultConfig](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/TestDefaultConfig) |---------------------------------------------------------------------------------------------------------------------------------------------------|--------| | [ApplicationDefaultConfig](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/ApplicationDefaultConfig)       | <br /> | | [DynamicFeatureDefaultConfig](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/DynamicFeatureDefaultConfig) | <br /> | | [LibraryDefaultConfig](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/LibraryDefaultConfig)               | <br /> | | [TestDefaultConfig](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/TestDefaultConfig)                     | <br /> | |

Specifies defaults for variant properties that the Android plugin applies to all build variants.

You can override any `defaultConfig` property when
[configuring product flavors](https://developer.android.com/studio/build/build-variants.html#product-flavors).

## Summary

| ### Inherited functions ||
|---|---|
| From class [VariantDimension](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension) |------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [addManifestPlaceholders](https://developer.android.com/reference/tools/gradle-api/4.2/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. See [Inject Build Variables into the Manifest](https://developer.android.com/studio/build/manifest-build-variables.html). <br />                                                                                                                                                                                                                                      | | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [buildConfigField](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#buildConfigField(kotlin.String,%20kotlin.String,%20kotlin.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. The field is generated as: `<type> <name> = <value>;` This means each of these must have valid Java content. If the type is a String, then the value should include quotes. <br />                                                                                                                                             | | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [externalNativeBuild](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#externalNativeBuild(kotlin.Function1))`(`action:` `[ExternalNativeBuildOptions](https://developer.android.com/reference/tools/gradle-api/4.2/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. To learn more, see [Add C and C++ Code to Your Project](http://developer.android.com/studio/projects/add-native-code.html#). <br />                                                                                                                                                                                                               | | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [javaCompileOptions](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#javaCompileOptions(kotlin.Function1))`(`action:` `[JavaCompileOptions](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/JavaCompileOptions).()` `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` Options for configuring Java compilation. <br />                                                                                                                                                                                                                                                                                                                                                                                                                | | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [ndk](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#ndk(kotlin.Function1))`(`action:` `[Ndk](https://developer.android.com/reference/tools/gradle-api/4.2/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. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                            | | [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)   | [proguardFile](https://developer.android.com/reference/tools/gradle-api/4.2/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. `proguardFile getDefaultProguardFile('proguard-android.txt')` There are two ProGuard rules files that ship with the Android plugin and are used by default: - proguard-android.txt - proguard-android-optimize.txt `proguard-android-optimize.txt` is identical to `proguard-android.txt`, except with optimizations enabled. You can use [getDefaultProguardFileString](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/DefaultConfig#) to return the full path of the files. This method has a return value for legacy reasons. <br /> | | [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)   | [proguardFiles](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#proguardFiles(kotlin.Any))`(`vararg` `files:` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`)` Adds new ProGuard configuration files. There are two ProGuard rules files that ship with the Android plugin and are used by default: - proguard-android.txt - proguard-android-optimize.txt `proguard-android-optimize.txt` is identical to `proguard-android.txt`, except with optimizations enabled. You can use [getDefaultProguardFileString](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/DefaultConfig#) to return the full path of the files. This method has a return value for legacy reasons. <br />                                                            | | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [resValue](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#resValue(kotlin.String,%20kotlin.String,%20kotlin.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. This is equivalent to specifying a resource in res/values. See [Resource Types](http://developer.android.com/guide/topics/resources/available-resources.html). <br />                                                                                                                                                                                                | | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [shaders](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#shaders(kotlin.Function1))`(`action:` `[Shaders](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/Shaders).()` `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` Configure the shader compiler options. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)   | [testProguardFile](https://developer.android.com/reference/tools/gradle-api/4.2/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. Test code needs to be processed to apply the same obfuscation as was done to main code. This method has a return value for legacy reasons. <br />                                                                                                                                                                                                                                                                                                                                                                                               | | [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)   | [testProguardFiles](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#testProguardFiles(kotlin.Any))`(`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. Test code needs to be processed to apply the same obfuscation as was done to main code. This method has a return value for legacy reasons. <br />                                                                                                                                                                                                                                                                                                                                                                                    | ||
| From class [BaseFlavor](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor) |----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getName](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#getName())`()` The name of the flavor. <br />                                                                                                                                                                                                                                                                                                                                                                           | | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)     | [vectorDrawables](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#vectorDrawables(kotlin.Function1))`(`action:` `[VectorDrawables](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VectorDrawables).()` `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` Configures [VectorDrawables](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VectorDrawables). <br /> | ||

| ### Inherited properties ||
|---|---|
| From class [VariantDimension](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension) |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [ExternalNativeBuildOptions](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/ExternalNativeBuildOptions)                                                                                                                       | [externalNativeBuild](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#externalNativeBuild:com.android.build.api.dsl.ExternalNativeBuildOptions) Encapsulates per-variant CMake and ndk-build configurations for your external native build. To learn more, see [Add C and C++ Code to Your Project](http://developer.android.com/studio/projects/add-native-code.html#). <br />                                                                                                                                                                                                                                                                     | | [JavaCompileOptions](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/JavaCompileOptions)                                                                                                                                       | [javaCompileOptions](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#javaCompileOptions:com.android.build.api.dsl.JavaCompileOptions) Options for configuring Java compilation. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | [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/4.2/com/android/build/api/dsl/VariantDimension#manifestPlaceholders:kotlin.collections.MutableMap) The manifest placeholders. See [Inject Build Variables into the Manifest](https://developer.android.com/studio/build/manifest-build-variables.html). <br />                                                                                                                                                                                                                                                                                                                                                              | | [File](http://docs.oracle.com/javase/8/docs/api/java/io/File.html)?                                                                                                                                                                                                   | [multiDexKeepFile](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#multiDexKeepFile:java.io.File) 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` <br />                                                                                                                                                                                                                                               | | [File](http://docs.oracle.com/javase/8/docs/api/java/io/File.html)?                                                                                                                                                                                                   | [multiDexKeepProguard](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#multiDexKeepProguard:java.io.File) 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. <br />                                                                                                                                                                                                                                                                                                          | | [Ndk](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/Ndk)                                                                                                                                                                     | [ndk](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#ndk:com.android.build.api.dsl.Ndk) Encapsulates per-variant configurations for the NDK, such as ABI filters. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)<[File](http://docs.oracle.com/javase/8/docs/api/java/io/File.html)>                                                                                           | [proguardFiles](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#proguardFiles:kotlin.collections.MutableList) Specifies the ProGuard configuration files that the plugin should use. There are two ProGuard rules files that ship with the Android plugin and are used by default: - proguard-android.txt - proguard-android-optimize.txt `proguard-android-optimize.txt` is identical to `proguard-android.txt`, except with optimizations enabled. You can use [getDefaultProguardFileString](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/DefaultConfig#) to return the full path of the files. <br /> | | [Shaders](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/Shaders)                                                                                                                                                             | [shaders](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#shaders:com.android.build.api.dsl.Shaders) Options for configuring the shader compiler. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)<[File](http://docs.oracle.com/javase/8/docs/api/java/io/File.html)>                                                                                           | [testProguardFiles](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VariantDimension#testProguardFiles:kotlin.collections.MutableList) The collection of proguard rule files to be used when processing test code. Test code needs to be processed to apply the same obfuscation as was done to main code. <br />                                                                                                                                                                                                                                                                                                                                                    | ||
| From class [BaseFlavor](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor) |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)?                                                                                                                                                                                                 | [minSdk](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#minSdk:kotlin.Int) The minimum SDK version. Setting this it will override previous calls of [minSdk](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#minSdk:kotlin.Int) and [minSdkPreview](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#minSdkPreview:kotlin.String) setters. Only one of [minSdk](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#minSdk:kotlin.Int) and [minSdkPreview](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#minSdkPreview:kotlin.String) should be set. See [uses-sdk element documentation](http://developer.android.com/guide/topics/manifest/uses-sdk-element.html). <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?                                                                                                                                                                                           | [minSdkPreview](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#minSdkPreview:kotlin.String) The minimum SDK version. Setting this it will override previous calls of [minSdk](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#minSdk:kotlin.Int) and [minSdkPreview](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#minSdkPreview:kotlin.String) setters. Only one of [minSdk](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#minSdk:kotlin.Int) and [minSdkPreview](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#minSdkPreview:kotlin.String) should be set. See [uses-sdk element documentation](http://developer.android.com/guide/topics/manifest/uses-sdk-element.html). <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)?                                                                                                                                                                                         | [renderscriptNdkModeEnabled](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#renderscriptNdkModeEnabled:kotlin.Boolean) Whether the renderscript code should be compiled to generate C/C++ bindings. True for C/C++ generation, false for Java, null if not specified. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)?                                                                                                                                                                                         | [renderscriptSupportModeBlasEnabled](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#renderscriptSupportModeBlasEnabled:kotlin.Boolean) Whether the renderscript BLAS support lib should be used to make it compatible with older versions of Android. True if BLAS support lib is enabled, false if not, and null if not specified. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)?                                                                                                                                                                                         | [renderscriptSupportModeEnabled](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#renderscriptSupportModeEnabled:kotlin.Boolean) Whether the renderscript code should be compiled in support mode to make it compatible with older versions of Android. True if support mode is enabled, false if not, and null if not specified. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)?                                                                                                                                                                                                 | [renderscriptTargetApi](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#renderscriptTargetApi:kotlin.Int) The renderscript target api, or null if not specified. This is only the value set on this product flavor. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | [MutableSet](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-set/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)>                                                                                     | [resourceConfigurations](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#resourceConfigurations:kotlin.collections.MutableSet) Specifies a list of [alternative resources](https://d.android.com/guide/topics/resources/providing-resources.html#AlternativeResources) to keep. For example, if you are using a library that includes language resources (such as AppCompat or Google Play Services), then your APK includes all translated language strings for the messages in those libraries whether the rest of your app is translated to the same languages or not. If you'd like to keep only the languages that your app officially supports, you can specify those languages using the `resConfigs` property, as shown in the sample below. Any resources for languages not specified are removed. ```text android { defaultConfig { ... // Keeps language resources for only the locales specified below. resConfigs "en", "fr" } } ``` You can also use this property to filter resources for screen densities. For example, specifying `hdpi` removes all other screen density resources (such as `mdpi`, `xhdpi`, etc) from the final APK. **Note:** `auto` is no longer supported because it created a number of issues with multi-module projects. Instead, you should specify a list of locales that your app supports, as shown in the sample above. Android plugin 3.1.0 and higher ignore the ` auto` argument, and Gradle packages all string resources your app and its dependencies provide. To learn more, see [Remove unused alternative resources](https://d.android.com/studio/build/shrink-code.html#unused-alt-resources). <br /> | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?                                                                                                                                                                                           | [testApplicationId](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#testApplicationId:kotlin.String) Test application ID. See [Set the Application ID](https://developer.android.com/studio/build/application-id.html) <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)?                                                                                                                                                                                         | [testFunctionalTest](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#testFunctionalTest:kotlin.Boolean) See [instrumentation](http://developer.android.com/guide/topics/manifest/instrumentation-element.html). <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)?                                                                                                                                                                                         | [testHandleProfiling](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#testHandleProfiling:kotlin.Boolean) See [instrumentation](http://developer.android.com/guide/topics/manifest/instrumentation-element.html). <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?                                                                                                                                                                                           | [testInstrumentationRunner](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#testInstrumentationRunner:kotlin.String) Test instrumentation runner class name. This is a fully qualified class name of the runner, e.g. `android.test.InstrumentationTestRunner` See [instrumentation](http://developer.android.com/guide/topics/manifest/instrumentation-element.html). <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | [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),` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)> | [testInstrumentationRunnerArguments](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#testInstrumentationRunnerArguments:kotlin.collections.MutableMap) Test instrumentation runner custom arguments. e.g. `[key: "value"]` will give `adb shell am instrument -w -e key value com.example`... See [instrumentation](http://developer.android.com/guide/topics/manifest/instrumentation-element.html). Test runner arguments can also be specified from the command line: ```text ./gradlew connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.size=medium ./gradlew connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.foo=bar ``` <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | [VectorDrawables](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/VectorDrawables)                                                                                                                                                   | [vectorDrawables](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#vectorDrawables:com.android.build.api.dsl.VectorDrawables) Options to configure the build-time support for `vector` drawables. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)?                                                                                                                                                                                         | [wearAppUnbundled](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BaseFlavor#wearAppUnbundled:kotlin.Boolean) Whether to enable unbundling mode for embedded wear app. If true, this enables the app to transition from an embedded wear app to one distributed by the play store directly. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ||