Add release signing config for persistent keystore
This commit is contained in:
parent
8c1e284db4
commit
25732a9de7
1 changed files with 10 additions and 0 deletions
|
|
@ -9,6 +9,15 @@ android {
|
||||||
namespace = "com.adamaps.varroa"
|
namespace = "com.adamaps.varroa"
|
||||||
compileSdk = 34
|
compileSdk = 34
|
||||||
|
|
||||||
|
signingConfigs {
|
||||||
|
create("release") {
|
||||||
|
storeFile = file("/keystore/varroa-release.keystore")
|
||||||
|
storePassword = "***REMOVED***"
|
||||||
|
keyAlias = "varroa-release"
|
||||||
|
keyPassword = "***REMOVED***"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "com.adamaps.varroa"
|
applicationId = "com.adamaps.varroa"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
|
|
@ -24,6 +33,7 @@ android {
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
isMinifyEnabled = false
|
isMinifyEnabled = false
|
||||||
|
signingConfig = signingConfigs.getByName("release")
|
||||||
proguardFiles(
|
proguardFiles(
|
||||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||||
"proguard-rules.pro"
|
"proguard-rules.pro"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue