add separate release target for Play Store
This commit is contained in:
parent
74a9f9983d
commit
e68880b45d
@ -22,6 +22,13 @@ android {
|
|||||||
keyAlias = keystoreProperties["keyAlias"] as String
|
keyAlias = keystoreProperties["keyAlias"] as String
|
||||||
keyPassword = keystoreProperties["keyPassword"] as String
|
keyPassword = keystoreProperties["keyPassword"] as String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
create("play") {
|
||||||
|
storeFile = rootProject.file(keystoreProperties["storeFile"]!!)
|
||||||
|
storePassword = keystoreProperties["storePassword"] as String
|
||||||
|
keyAlias = keystoreProperties["uploadKeyAlias"] as String
|
||||||
|
keyPassword = keystoreProperties["uploadKeyPassword"] as String
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,6 +58,14 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
create("play") {
|
||||||
|
initWith(getByName("release"))
|
||||||
|
applicationIdSuffix = ".play"
|
||||||
|
if (useKeystoreProperties) {
|
||||||
|
signingConfig = signingConfigs.getByName("play")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
viewBinding = true
|
viewBinding = true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user