Merge pull request #10938 from Pokechu22/android-signing-config

Android: Don't set the signingConfig if keystore property isn't set
This commit is contained in:
JosJuice 2022-08-10 20:26:59 +02:00 committed by GitHub
commit 6fbc1cbcce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@ android {
buildTypes { buildTypes {
// Signed by release key, allowing for upload to Play Store. // Signed by release key, allowing for upload to Play Store.
release { release {
if (project.hasProperty('keystore')) {
signingConfig signingConfigs.release signingConfig signingConfigs.release
}
minifyEnabled true minifyEnabled true
shrinkResources true shrinkResources true