Skip to content

Commit

Permalink
Remove 1.20.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Apr 24, 2024
1 parent 3aa915a commit 5bed3a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
6 changes: 1 addition & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand Down
8 changes: 4 additions & 4 deletions version.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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(":"))
Expand Down Expand Up @@ -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")
})
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 5bed3a9

Please sign in to comment.