From c1b7b55c9e852ed6bee05d7028aa8b8e000c2e18 Mon Sep 17 00:00:00 2001 From: Paint_Ninja Date: Sun, 6 Mar 2022 14:53:15 +0000 Subject: [PATCH] Use UTF-8 charset for Java compilation (#8486) --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index b988736..4f1e84d 100644 --- a/build.gradle +++ b/build.gradle @@ -199,3 +199,7 @@ publishing { } } } + +tasks.withType(JavaCompile).configureEach { + options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation +}