From 5bed3a96196898aa1d4409b05b73129acb1641f1 Mon Sep 17 00:00:00 2001 From: "Josiah (Gaming32) Glosson" Date: Wed, 24 Apr 2024 08:30:04 -0500 Subject: [PATCH] Remove 1.20.2 support --- build.gradle.kts | 6 +----- settings.gradle.kts | 2 -- version.gradle.kts | 8 ++++---- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 101f6b8..4d5f392 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,8 +10,6 @@ repositories { preprocess { val fabric12004 = createNode("1.20.4-fabric", 1_20_04, "yarn") val neoforge12004 = createNode("1.20.4-neoforge", 1_20_04, "yarn") - val fabric12002 = createNode("1.20.2-fabric", 1_20_02, "yarn") - val neoforge12002 = createNode("1.20.2-neoforge", 1_20_02, "yarn") val fabric12001 = createNode("1.20.1-fabric", 1_20_01, "yarn") val forge12001 = createNode("1.20.1-forge", 1_20_01, "srg") val fabric11904 = createNode("1.19.4-fabric", 1_19_04, "yarn") @@ -24,9 +22,7 @@ preprocess { val forge11701 = createNode("1.17.1-forge", 1_17_01, "srg") fabric12004.link(neoforge12004) - neoforge12004.link(neoforge12002) - neoforge12002.link(fabric12002) - fabric12002.link(fabric12001) + fabric12004.link(fabric12001) fabric12001.link(forge12001) forge12001.link(forge11904) forge11904.link(fabric11904) diff --git a/settings.gradle.kts b/settings.gradle.kts index a6d4cf3..4a57218 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -32,8 +32,6 @@ listOf( "1.19.4-fabric", "1.20.1-forge", "1.20.1-fabric", - "1.20.2-neoforge", - "1.20.2-fabric", "1.20.4-neoforge", "1.20.4-fabric", ).forEach { version -> diff --git a/version.gradle.kts b/version.gradle.kts index 6d2c249..a6581a0 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -56,13 +56,16 @@ unimined.minecraft { searge() mojmap() when { - mcVersion >= 1_20_02 -> "1.20.2:2023.10.22" + mcVersion >= 1_20_04 -> "1.20.4:2024.04.14" + mcVersion >= 1_20_03 -> "1.20.3:2023.12.31" + mcVersion >= 1_20_02 -> "1.20.2:2023.12.10" mcVersion >= 1_20_01 -> "1.20.1:2023.09.03" mcVersion >= 1_19_04 -> "1.19.4:2023.06.26" mcVersion >= 1_19_03 -> "1.19.3:2023.06.25" mcVersion >= 1_19_00 -> "1.19.2:2022.11.27" mcVersion >= 1_18_00 -> "1.18.2:2022.11.06" mcVersion >= 1_17_00 -> "1.17.1:2021.12.12" + mcVersion >= 1_16_00 -> "1.16.5:2022.03.06" else -> null }?.let { parchment(it.substringBefore(":"), it.substringAfter(":")) @@ -92,7 +95,6 @@ unimined.minecraft { } isNeoForge -> neoForged { loader(when (mcVersion) { - 1_20_02 -> "86" 1_20_04 -> "69-beta" else -> throw IllegalStateException("Unknown NeoForge version for $mcVersionString") }) @@ -218,7 +220,6 @@ dependencies { if (isFabric) { when (mcVersion) { 1_20_04 -> "9.0.0" - 1_20_02 -> "8.0.1" 1_20_01 -> "7.2.2" 1_19_04 -> "6.3.1" 1_19_02 -> "4.2.0-beta.2" @@ -240,7 +241,6 @@ dependencies { if (isFabric) { when (mcVersion) { 1_20_04 -> "0.91.1+1.20.3" - 1_20_02 -> "0.91.1+1.20.2" 1_20_01 -> "0.91.0+1.20.1" 1_19_04 -> "0.87.2+1.19.4" 1_19_02 -> "0.77.0+1.19.2"