summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--platform/android/java/app/gradle.properties3
-rw-r--r--platform/android/java/gradle.properties3
2 files changed, 6 insertions, 0 deletions
diff --git a/platform/android/java/app/gradle.properties b/platform/android/java/app/gradle.properties
index d9f79b6818..2b6468c95e 100644
--- a/platform/android/java/app/gradle.properties
+++ b/platform/android/java/app/gradle.properties
@@ -23,3 +23,6 @@ org.gradle.warning.mode=all
# Enable resource optimizations for release build.
# NOTE: This is turned off for template release build in order to support the build legacy process.
android.enableResourceOptimizations=true
+
+# Fix gradle build errors when the build path contains non-ASCII characters
+android.overridePathCheck=true
diff --git a/platform/android/java/gradle.properties b/platform/android/java/gradle.properties
index 39a0dcda16..c8abb52614 100644
--- a/platform/android/java/gradle.properties
+++ b/platform/android/java/gradle.properties
@@ -26,3 +26,6 @@ org.gradle.warning.mode=all
# Disable resource optimizations for template release build.
# NOTE: This is turned on for Godot Editor's gradle builds in order to improve the release build.
android.enableResourceOptimizations=false
+
+# Fix gradle build errors when the build path contains non-ASCII characters
+android.overridePathCheck=true