From 01d877d871d084f6834eeea14320101156d52d07 Mon Sep 17 00:00:00 2001 From: Nickkel <42046014+Nick-kel@users.noreply.github.com> Date: Wed, 30 Jun 2021 20:41:20 +0200 Subject: [PATCH] add encoding option --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index c720548..a54684a 100644 --- a/build.gradle +++ b/build.gradle @@ -27,6 +27,7 @@ apply plugin: 'org.spongepowered.mixin' version = '1.0.0' group = 'com.example' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'Example Addon' +compileJava.options.encoding = 'UTF-8' sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.