From f1887a30f35dafac405014ef5ca6e3d76b4da960 Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Tue, 13 Feb 2024 14:31:08 -0800 Subject: [PATCH] Fix gradle build errors when the build path contains non-ASCII characters --- platform/android/java/app/gradle.properties | 3 +++ platform/android/java/gradle.properties | 3 +++ 2 files changed, 6 insertions(+) diff --git a/platform/android/java/app/gradle.properties b/platform/android/java/app/gradle.properties index d9f79b68188..2b6468c95e1 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 39a0dcda161..c8abb52614c 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