From ed895815b5fbd7fb817139dcaab4040b9c5c3818 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Thu, 24 Aug 2023 00:03:38 -0700 Subject: [PATCH] [build] Compile Java with UTF-8 encoding (#5564) --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index fc1f33df98..7c5204f411 100644 --- a/build.gradle +++ b/build.gradle @@ -126,6 +126,7 @@ subprojects { tasks.withType(JavaCompile) { options.compilerArgs.add '-XDstringConcat=inline' + options.encoding = 'UTF-8' } // Enables UTF-8 support in Javadoc