diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-08-02 17:53:52 -0700 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-08-10 09:58:49 -0700 |
| commit | 1004e34167e202b0d5fec3bf877aaa14b671d334 (patch) | |
| tree | 6fabceafa782684ff9379c8ea8bb4a4af8073395 /Source | |
| parent | 3f6795f5e82542a32959247a50a3e58f5c61cb1e (diff) | |
Android: Don't set the signingConfig if keystore property isn't set
If the property isn't set, we don't initialize the release config, so we shouldn't use it. This fixes building issues for me.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Android/app/build.gradle | 4 |
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 |
