summaryrefslogtreecommitdiffstats
path: root/platform/android/java
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2024-08-28 17:24:54 +0200
committerRaul Santos <raulsntos@gmail.com>2024-08-28 17:24:54 +0200
commitefe5f988e0ac218996e79d9e5cf423a9f2d86168 (patch)
treea9fb0e2d1b820ef26c40574a1bbbe30435d42707 /platform/android/java
parente3550cb20f5d6a61befaafb7d9cbdb57b24870e4 (diff)
downloadredot-engine-efe5f988e0ac218996e79d9e5cf423a9f2d86168.tar.gz
[Android] Check if keyStore path is empty
In `godot-build-scripts`, the default `config.sh` sets `GODOT_ANDROID_SIGN_KEYSTORE` to an empty string but we were only checking if it's null.
Diffstat (limited to 'platform/android/java')
-rw-r--r--platform/android/java/editor/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/java/editor/build.gradle b/platform/android/java/editor/build.gradle
index 37f68d295a..3edbeff2f7 100644
--- a/platform/android/java/editor/build.gradle
+++ b/platform/android/java/editor/build.gradle
@@ -36,7 +36,7 @@ ext {
// Return the keystore file used for signing the release build.
getGodotKeystoreFile = { ->
def keyStore = System.getenv("GODOT_ANDROID_SIGN_KEYSTORE")
- if (keyStore == null) {
+ if (keyStore == null || keyStore.isEmpty()) {
return null
}
return file(keyStore)