ApplicationVariantDimension
interface ApplicationVariantDimension : VariantDimension
ApplicationBaseFlavor |
|
ApplicationBuildType |
Build types define certain properties that Gradle uses when building and packaging your app, and are typically configured for different stages of your development lifecycle. |
ApplicationDefaultConfig |
Specifies defaults for properties that the Android application plugin applies to all build variants. |
ApplicationProductFlavor |
Encapsulates all product flavors properties for application projects. |
Shared properties between DSL objects that contribute to an application variant.
That is, ApplicationBuildType
and ApplicationProductFlavor
and ApplicationDefaultConfig
.
Summary
Public properties |
|
---|---|
String? |
Application id suffix. |
Boolean? |
Returns whether multi-dex is enabled. |
ApkSigningConfig? |
The associated signing config or null if none are set on the variant dimension. |
String? |
Version name suffix. |
Inherited functions |
||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Inherited properties |
||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public properties
applicationIdSuffix
var applicationIdSuffix: String?
Application id suffix. It is appended to the "base" application id when calculating the final application id for a variant.
In case there are product flavor dimensions specified, the final application id suffix will contain the suffix from the default product flavor, followed by the suffix from product flavor of the first dimension, second dimension and so on. All of these will have a dot in between e.g. "defaultSuffix.dimension1Suffix.dimensions2Suffix".
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.
versionNameSuffix
var versionNameSuffix: String?
Version name suffix. It is appended to the "base" version name when calculating the final version name for a variant.
In case there are product flavor dimensions specified, the final version name suffix will contain the suffix from the default product flavor, followed by the suffix from product flavor of the first dimension, second dimension and so on.