From 5e8fa5153837b19941d7879c691936c8a5d23893 Mon Sep 17 00:00:00 2001 From: Kosma Moczek Date: Fri, 31 Dec 2021 03:56:46 +0100 Subject: [PATCH] fabric-*: remove redundant declarations already present in root build.gradle --- fabric-1.14.4/build.gradle | 10 ---------- fabric-1.15.2/build.gradle | 10 ---------- fabric-1.16.4/build.gradle | 10 ---------- fabric-1.17.1/build.gradle | 10 ---------- fabric-1.18/build.gradle | 10 ---------- 5 files changed, 50 deletions(-) diff --git a/fabric-1.14.4/build.gradle b/fabric-1.14.4/build.gradle index 4f2628ce..28245a63 100644 --- a/fabric-1.14.4/build.gradle +++ b/fabric-1.14.4/build.gradle @@ -10,9 +10,6 @@ buildscript { } apply plugin: 'fabric-loom' -sourceCompatibility = JavaVersion.VERSION_1_8 -targetCompatibility = JavaVersion.VERSION_1_8 - archivesBaseName = project.archives_base_name version = parent.version group = parent.group @@ -45,13 +42,6 @@ processResources { } } -// ensure that the encoding is set to UTF-8, no matter what the system default is -// this fixes some edge cases with special characters not displaying correctly -// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html -tasks.withType(JavaCompile) { - options.encoding = "UTF-8" -} - java { // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task // if it is present. diff --git a/fabric-1.15.2/build.gradle b/fabric-1.15.2/build.gradle index 4f2628ce..28245a63 100644 --- a/fabric-1.15.2/build.gradle +++ b/fabric-1.15.2/build.gradle @@ -10,9 +10,6 @@ buildscript { } apply plugin: 'fabric-loom' -sourceCompatibility = JavaVersion.VERSION_1_8 -targetCompatibility = JavaVersion.VERSION_1_8 - archivesBaseName = project.archives_base_name version = parent.version group = parent.group @@ -45,13 +42,6 @@ processResources { } } -// ensure that the encoding is set to UTF-8, no matter what the system default is -// this fixes some edge cases with special characters not displaying correctly -// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html -tasks.withType(JavaCompile) { - options.encoding = "UTF-8" -} - java { // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task // if it is present. diff --git a/fabric-1.16.4/build.gradle b/fabric-1.16.4/build.gradle index 4f2628ce..28245a63 100644 --- a/fabric-1.16.4/build.gradle +++ b/fabric-1.16.4/build.gradle @@ -10,9 +10,6 @@ buildscript { } apply plugin: 'fabric-loom' -sourceCompatibility = JavaVersion.VERSION_1_8 -targetCompatibility = JavaVersion.VERSION_1_8 - archivesBaseName = project.archives_base_name version = parent.version group = parent.group @@ -45,13 +42,6 @@ processResources { } } -// ensure that the encoding is set to UTF-8, no matter what the system default is -// this fixes some edge cases with special characters not displaying correctly -// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html -tasks.withType(JavaCompile) { - options.encoding = "UTF-8" -} - java { // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task // if it is present. diff --git a/fabric-1.17.1/build.gradle b/fabric-1.17.1/build.gradle index 08cbedac..4ae31fab 100644 --- a/fabric-1.17.1/build.gradle +++ b/fabric-1.17.1/build.gradle @@ -10,9 +10,6 @@ buildscript { } apply plugin: 'fabric-loom' -sourceCompatibility = JavaVersion.VERSION_16 -targetCompatibility = JavaVersion.VERSION_16 - archivesBaseName = project.archives_base_name version = parent.version group = parent.group @@ -45,13 +42,6 @@ processResources { } } -// ensure that the encoding is set to UTF-8, no matter what the system default is -// this fixes some edge cases with special characters not displaying correctly -// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html -tasks.withType(JavaCompile) { - options.encoding = "UTF-8" -} - java { // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task // if it is present. diff --git a/fabric-1.18/build.gradle b/fabric-1.18/build.gradle index 4e59ae9b..6781d7b0 100644 --- a/fabric-1.18/build.gradle +++ b/fabric-1.18/build.gradle @@ -15,9 +15,6 @@ loom { } } -sourceCompatibility = JavaVersion.VERSION_17 -targetCompatibility = JavaVersion.VERSION_17 - archivesBaseName = project.archives_base_name version = parent.version group = parent.group @@ -50,13 +47,6 @@ processResources { } } -// ensure that the encoding is set to UTF-8, no matter what the system default is -// this fixes some edge cases with special characters not displaying correctly -// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html -tasks.withType(JavaCompile) { - options.encoding = "UTF-8" -} - java { // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task // if it is present.