From 300ab06a3405ae4c61af69942c7bb06db1a89337 Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Mon, 27 Nov 2023 13:17:12 -0500 Subject: [PATCH] Setting default file encoding to UTF-8 (#1440) Otherwise compiling on some ubuntu images results in errors about non-ascii characters --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index d348f3f9d8..5ea624a480 100644 --- a/build.gradle +++ b/build.gradle @@ -163,6 +163,10 @@ jar { } } +tasks.withType(JavaCompile).configureEach { + options.encoding = 'UTF-8' +} + compileJava { inputs.property("moduleName", moduleName) doFirst {