summaryrefslogtreecommitdiff
path: root/Source/Android
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-08-10 20:26:59 +0200
committerGitHub <noreply@github.com>2022-08-10 20:26:59 +0200
commit6fbc1cbcce035aa392895b95a2430104170f7747 (patch)
tree6fabceafa782684ff9379c8ea8bb4a4af8073395 /Source/Android
parent3f6795f5e82542a32959247a50a3e58f5c61cb1e (diff)
parent1004e34167e202b0d5fec3bf877aaa14b671d334 (diff)
Merge pull request #10938 from Pokechu22/android-signing-config
Android: Don't set the signingConfig if keystore property isn't set
Diffstat (limited to 'Source/Android')
-rw-r--r--Source/Android/app/build.gradle4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Android/app/build.gradle b/Source/Android/app/build.gradle
index b19c3cec62..72779c3fb5 100644
--- a/Source/Android/app/build.gradle
+++ b/Source/Android/app/build.gradle
@@ -48,7 +48,9 @@ android {
buildTypes {
// Signed by release key, allowing for upload to Play Store.
release {
- signingConfig signingConfigs.release
+ if (project.hasProperty('keystore')) {
+ signingConfig signingConfigs.release
+ }
minifyEnabled true
shrinkResources true