From 4be3c2360e060c9c5c67cbdec9d73be64273c3fe Mon Sep 17 00:00:00 2001 From: Raven Szewczyk Date: Mon, 24 Apr 2023 15:42:45 +0100 Subject: [PATCH] Set UTF-8 encoding for java files --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index f92a21f..a722ef3 100644 --- a/build.gradle +++ b/build.gradle @@ -27,6 +27,10 @@ java { withJavadocJar() } +tasks.withType(JavaCompile).configureEach { + options.encoding = "UTF-8" +} + configurations { embed implementation.extendsFrom(embed)