updating the keystore properties file check a bit

This commit is contained in:
Tibor Kaputa 2019-12-19 21:53:06 +01:00 committed by GitHub
parent f6f1f8d0bc
commit 66fd0b5b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -22,8 +22,8 @@ android {
vectorDrawables.useSupportLibrary = true
}
if (keystorePropertiesFile.exists()) {
signingConfigs {
signingConfigs {
if (keystorePropertiesFile.exists()) {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
@ -40,9 +40,7 @@ android {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
if (keystorePropertiesFile.exists()) {
signingConfig signingConfigs.release
}
signingConfig signingConfigs.release
}
}