Change gradle signingConfigs

This commit is contained in:
jacques 2022-01-12 08:17:10 +01:00
parent 24f8730729
commit b17e55c6b5

View file

@ -26,12 +26,16 @@ else {
android { android {
signingConfigs { signingConfigs {
release { release {
storeFile file('../android-signing-keystore.jks')
storePassword secretProperties['signing_keystore_password']
keyAlias secretProperties['signing_release_alias_key']
keyPassword secretProperties['signing_release_key_password']
} }
prerelease { prerelease {
storeFile file("../android-signing-keystore.jks") storeFile file("../android-signing-keystore.jks")
storePassword secretProperties['signing_keystore_password'] storePassword secretProperties['signing_keystore_password']
keyAlias secretProperties['signing_key_alias'] keyAlias secretProperties['signing_pre-release_key_alias']
keyPassword secretProperties['signing_key_password'] keyPassword secretProperties['signing_pre-release_key_password']
} }
} }
compileSdkVersion 29 compileSdkVersion 29
@ -55,6 +59,7 @@ android {
minifyEnabled true minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
debuggable false debuggable false
signingConfig signingConfigs.release
} }
prerelease { prerelease {
minifyEnabled false minifyEnabled false