From c6c24f8c0f2bb66706b257873d9837d98b91f24d Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Sat, 12 Jan 2019 13:00:30 +0200 Subject: [PATCH] [#875] Fix gradle build encoding --- Plan/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Plan/build.gradle b/Plan/build.gradle index df496fe2b..55656e5ae 100644 --- a/Plan/build.gradle +++ b/Plan/build.gradle @@ -20,6 +20,11 @@ allprojects { exceptionFormat "full" } } + + // Fix for UTF-8 files showing with wrong encoding when compiled on Windows machines. + tasks.withType(JavaCompile) { + options.encoding = 'UTF-8' + } } subprojects {