From d8f941f720c2031e0c40c2836b6b99efe6abfd55 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 11 Apr 2021 01:00:01 +0200 Subject: [PATCH] Fix gradle compile encoding --- BauSystem_12/build.gradle | 2 ++ BauSystem_15/build.gradle | 2 ++ BauSystem_API/build.gradle | 2 ++ BauSystem_Main/build.gradle | 2 ++ build.gradle | 7 ++----- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/BauSystem_12/build.gradle b/BauSystem_12/build.gradle index 9dc8c31..30e6b08 100644 --- a/BauSystem_12/build.gradle +++ b/BauSystem_12/build.gradle @@ -27,6 +27,8 @@ plugins { group 'steamwar' version '1.0' +compileJava.options.encoding = 'UTF-8' + sourceCompatibility = 1.8 targetCompatibility = 1.8 diff --git a/BauSystem_15/build.gradle b/BauSystem_15/build.gradle index 3af96eb..0080313 100644 --- a/BauSystem_15/build.gradle +++ b/BauSystem_15/build.gradle @@ -27,6 +27,8 @@ plugins { group 'steamwar' version '1.0' +compileJava.options.encoding = 'UTF-8' + sourceCompatibility = 1.8 targetCompatibility = 1.8 diff --git a/BauSystem_API/build.gradle b/BauSystem_API/build.gradle index fb03b7e..29111aa 100644 --- a/BauSystem_API/build.gradle +++ b/BauSystem_API/build.gradle @@ -27,6 +27,8 @@ plugins { group 'steamwar' version '1.0' +compileJava.options.encoding = 'UTF-8' + sourceCompatibility = 1.8 targetCompatibility = 1.8 diff --git a/BauSystem_Main/build.gradle b/BauSystem_Main/build.gradle index 27313ab..cc7c103 100644 --- a/BauSystem_Main/build.gradle +++ b/BauSystem_Main/build.gradle @@ -27,6 +27,8 @@ plugins { group 'steamwar' version '1.0' +compileJava.options.encoding = 'UTF-8' + sourceCompatibility = 1.8 targetCompatibility = 1.8 diff --git a/build.gradle b/build.gradle index d6bb50f..503e530 100644 --- a/build.gradle +++ b/build.gradle @@ -42,17 +42,14 @@ ext { libs = "${buildDir}/libs" } +compileJava.options.encoding = 'UTF-8' + sourceCompatibility = 1.8 targetCompatibility = 1.8 mainClassName = '' allprojects { - // sourceCompatibility = 1.8 - // targetCompatibility = 1.8 - - compileJava.options.encoding = 'UTF-8' - repositories { mavenCentral() jcenter()