From 8550e017a18b0ee054eebd3e8861c23718247c9b Mon Sep 17 00:00:00 2001 From: Tyler Hancock Date: Mon, 11 Oct 2021 22:40:10 -0600 Subject: [PATCH] Apply UTF-8 encoding and J16 release level consistently. --- Fabric/build.gradle | 6 ------ build.gradle | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Fabric/build.gradle b/Fabric/build.gradle index 58361f0..d68995b 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -40,12 +40,6 @@ processResources { } } -tasks.withType(JavaCompile).configureEach { - it.options.encoding = "UTF-8" - - it.options.release = 16 -} - tasks.withType(JavaCompile) { source(project(":Common").sourceSets.main.allSource) } diff --git a/build.gradle b/build.gradle index b56fb56..3c9e9e0 100644 --- a/build.gradle +++ b/build.gradle @@ -37,4 +37,11 @@ subprojects { url = 'https://maven.blamejared.com' } } + + + tasks.withType(JavaCompile).configureEach { + + it.options.encoding = 'UTF-8' + it.options.release = 16 + } } \ No newline at end of file