TestProductFlavor
interface TestProductFlavor : TestBaseFlavor, ProductFlavor
Encapsulates all product flavors properties for test projects.
Test projects have a target application project that they depend on and flavor matching works in the same way as library dependencies. Therefore to test multiple flavors of an application, you can declare corresponding product flavors here. If you want to use some, you can use missingDimensionStrategy
to resolve any conflicts.
See ApplicationProductFlavor
Summary
Inherited functions |
From class com.android.build.api.dsl.BaseFlavor
String |
The name of the flavor.
|
Unit |
Copies all properties from the given flavor.
|
Unit |
This function is deprecated. Replaced by minSdk property
|
Unit |
This function is deprecated. Replaced by minSdkPreview property
|
Unit |
Specifies a flavor that the plugin should try to use from a given dimension in a dependency.
|
Unit |
Specifies a sorted list of flavors that the plugin should try to use from a given dimension in a dependency.
|
Unit |
Specifies a sorted list of flavors that the plugin should try to use from a given dimension in a dependency.
|
Unit |
This function is deprecated. Replaced by resourceConfigurations field
|
Unit |
This function is deprecated. Replaced by resourceConfigurations field
|
Unit |
This function is deprecated. Replaced by resourceConfigurations field
|
Unit |
This function is deprecated. Replaced by minSdk property
|
Unit |
This function is deprecated. Replaced by minSdkPreview property
|
Any? |
This function is deprecated. Replaced by testFunctionalTest property
|
Any? |
This function is deprecated. Replaced by testFunctionalTest property
|
Any? |
This function is deprecated. Replaced by testInstrumentationRunnerArguments property
|
Unit |
This function is deprecated. Replaced by testInstrumentationRunnerArguments property
|
Unit |
This function is deprecated. Replaced by testInstrumentationRunnerArguments property
|
Unit |
Configures VectorDrawables .
|
|
From class org.gradle.api.plugins.ExtensionAware
|
From class com.android.build.api.dsl.ProductFlavor
Void? |
This function is deprecated. Replaced with the dimension property
|
Unit |
This function is deprecated. Replaced with property matchingFallbacks
|
Unit |
This function is deprecated. Replaced with property matchingFallbacks
|
|
From class com.android.build.api.dsl.TestBaseFlavor
Unit |
This function is deprecated. Replaced by maxSdk property
|
Unit |
This function is deprecated. Replaced by targetSdkPreview property
|
Unit |
This function is deprecated. Replaced by targetSdk property
|
Unit |
This function is deprecated. Replaced by targetSdkPreview property
|
|
From class com.android.build.api.dsl.VariantDimension
Unit |
Adds manifest placeholders.
|
Unit |
Adds a new field to the generated BuildConfig class.
|
@Incubating Unit |
Encapsulates per-variant CMake and ndk-build configurations for your external native build.
|
Unit |
Options for configuring Java compilation.
|
Unit |
Encapsulates per-variant configurations for the NDK, such as ABI filters.
|
@Incubating Unit |
|
Any |
Adds a new ProGuard configuration file.
|
Any |
Adds new ProGuard configuration files.
|
Unit |
Adds a new generated resource.
|
Void? |
This function is deprecated. Use manifestPlaceholders property instead
|
Any |
Replaces the ProGuard configuration files.
|
Unit |
Configure the shader compiler options.
|
Any |
Adds a proguard rule file to be used when processing test code.
|
Any |
Adds proguard rule files to be used when processing test code.
|
|