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:
commit
6fbc1cbcce
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue