mirror of
https://github.com/jrpie/Launcher.git
synced 2025-05-17 16:01:10 +02:00
Extract repetitive string as constant
This commit is contained in:
parent
75c393461f
commit
4ec1731427
1 changed files with 5 additions and 3 deletions
|
@ -34,16 +34,18 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
flavorDimensions += "distribution"
|
||||
val distributionDimension = "distribution"
|
||||
|
||||
flavorDimensions += distributionDimension
|
||||
|
||||
productFlavors {
|
||||
create("default") {
|
||||
dimension = "distribution"
|
||||
dimension = distributionDimension
|
||||
isDefault = true
|
||||
buildConfigField("boolean", "USE_ACCESSIBILITY_SERVICE", "true")
|
||||
}
|
||||
create("accrescent") {
|
||||
dimension = "distribution"
|
||||
dimension = distributionDimension
|
||||
applicationIdSuffix = ".accrescent"
|
||||
versionNameSuffix = "+accrescent"
|
||||
buildConfigField("boolean", "USE_ACCESSIBILITY_SERVICE", "false")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue