DynamicFeatureProductFlavor
interface DynamicFeatureProductFlavor : VariantDimension, HasInitWith, BaseFlavor, VariantDimension, DynamicFeatureVariantDimension, DynamicFeatureBaseFlavor, VariantDimension, HasInitWith, BaseFlavor, HasInitWith, ProductFlavor
Encapsulates all product flavors properties for dynamic feature projects.
Dynamic features must have exactly the same product flavors (name and dimensions) as the app that includes them, however settings can be different between the application and the dynamic feature. Properties on dynamic feature product flavors fall in to three categories.
-
Properties global to the application that affect the build flow, and so must be explicitly set in the dynamic feature. For example, the flavor names and dimensions must match the application that includes this dynamic feature.
-
Properties global to the application that do not affect the build flow. These are set in the com.android.application
project, and are automatically configured on the dynamic feature, they cannot be set on the dynamic feature. For example, application ID suffix and signing cannot be configured on the dynamic feature and are not present on this interface.
-
Properties that can vary between the app and the dynamic feature. For example, resValues
can be used independently from the app in a dynamic feature.
See ApplicationProductFlavor
Summary
Inherited functions |
From class BaseFlavor
@Incubating String |
The name of the flavor.
|
@Incubating Unit |
Copies all properties from the given flavor.
|
@Incubating Unit |
This function is deprecated. Replaced by minSdk property
|
@Incubating Unit |
This function is deprecated. Replaced by minSdkPreview property
|
@Incubating Unit |
Specifies a flavor that the plugin should try to use from a given dimension in a dependency.
|
@Incubating Unit |
Specifies a sorted list of flavors that the plugin should try to use from a given dimension in a dependency.
|
@Incubating Unit |
Specifies a sorted list of flavors that the plugin should try to use from a given dimension in a dependency.
|
@Incubating Unit |
This function is deprecated. Replaced by resourceConfigurations field
|
@Incubating Unit |
This function is deprecated. Replaced by resourceConfigurations field
|
@Incubating Unit |
This function is deprecated. Replaced by resourceConfigurations field
|
@Incubating Unit |
This function is deprecated. Replaced by minSdk property
|
@Incubating Unit |
This function is deprecated. Replaced by minSdkPreview property
|
@Incubating Any? |
This function is deprecated. Replaced by testFunctionalTest property
|
@Incubating Any? |
This function is deprecated. Replaced by testFunctionalTest property
|
@Incubating Any? |
This function is deprecated. Replaced by testInstrumentationRunnerArguments property
|
@Incubating Unit |
This function is deprecated. Replaced by testInstrumentationRunnerArguments property
|
@Incubating Unit |
This function is deprecated. Replaced by testInstrumentationRunnerArguments property
|
@Incubating Unit |
Configures VectorDrawables .
|
|
From class ExtensionAware
|
From class ProductFlavor
@Incubating Void? |
This function is deprecated. Replaced with the dimension property
|
@Incubating Unit |
This function is deprecated. Replaced with property matchingFallbacks
|
@Incubating Unit |
This function is deprecated. Replaced with property matchingFallbacks
|
|
From class VariantDimension
@Incubating Unit |
Adds manifest placeholders.
|
@Incubating 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.
|
@Incubating Unit |
Encapsulates per-variant configurations for the NDK, such as ABI filters.
|
@Incubating Any |
Adds a new ProGuard configuration file.
|
@Incubating Any |
Adds new ProGuard configuration files.
|
@Incubating Unit |
Adds a new generated resource.
|
@Incubating Void? |
This function is deprecated. Use manifestPlaceholders property instead
|
@Incubating Any |
Replaces the ProGuard configuration files.
|
@Incubating Unit |
Configure the shader compiler options.
|
@Incubating Any |
Adds a proguard rule file to be used when processing test code.
|
@Incubating Any |
Adds proguard rule files to be used when processing test code.
|
|