Skip to content

Commit

Permalink
chore: Re-added support for 1.19.3-1.19.4 (GH-75)
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Nov 5, 2024
1 parent 4073acc commit 64ff7a4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ val supportedVersionRange: List<String?> = mapOf(
11605 to listOf(null, "1.16.5"),
11802 to listOf(null, "1.18.2"),
11902 to listOf("1.19-", "1.19.2"),
11904 to listOf("1.19.3-", "1.19.4"),
12001 to listOf("1.20-", "1.20.1"),
12002 to listOf("1.20.2-", if (!isNeo) "1.20.4" else "1.20.3"),
12004 to listOf(null, "1.20.4"), // for Neo
Expand Down Expand Up @@ -198,7 +199,7 @@ dependencies {
12101 to "1.21.1",
12103 to "1.21.1", // FIXME: .
)
val emiVersion = "1.1.18+${if (mcVersion >= 11902) (suffix[mcVersion] ?: "1.20.2") else "1.19.2"}"
val emiVersion = "1.1.18+${suffix[mcVersion] ?: "1.20.2"}"
// EMI support multiple platform since 1.0.0
// EMI seems to also skip 1.19 and 1.19.1
modCompileOnly("dev.emi:emi-${if (isFabric) "fabric" else (if (mcVersion >= 12006) "neoforge" else "forge")}:$emiVersion:api")
Expand Down Expand Up @@ -386,6 +387,7 @@ val mcReleaseVersions = mapOf<Int, List<String>>(
11605 to listOf("1.16.5"),
11802 to listOf("1.18.2"),
11902 to listOf("1.19", "1.19.1", "1.19.2"),
11904 to listOf("1.19.3", "1.19.4"),
12001 to listOf("1.20", "1.20.1"),
12002 to listOf("1.20.2", "1.20.3").let {
val rt = it.toMutableList()
Expand Down
10 changes: 7 additions & 3 deletions root.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ preprocess {
val fabric12101 = createNode("1.21.1-fabric", 12100, "mojang")
val neo12006 = createNode("1.20.6-neoforge", 12005, "mojang")
val fabric12006 = createNode("1.20.6-fabric", 12005, "mojang")
val neo12004 = createNode("1.20.4-neoforge", 12004, "mojang")
val neo12004 = createNode("1.20.4-neoforge", 12004, "mojang") // Special split for Neo, since they refactor Network API again on newer version.
val neo12002 = createNode("1.20.2-neoforge", 12002, "mojang")
val fabric12002 = createNode("1.20.2-fabric", 12002, "mojang")
val forge12001 = createNode("1.20.1-forge", 12001, "mojang")
val fabric12001 = createNode("1.20.1-fabric", 12001, "mojang")
val forge11904 = createNode("1.19.4-forge", 11904, "mojang")
val fabric11904 = createNode("1.19.4-fabric", 11904, "mojang")
val forge11902 = createNode("1.19.2-forge", 11902, "mojang")
val fabric11902 = createNode("1.19.2-fabric", 11902, "mojang")
val forge11802 = createNode("1.18.2-forge", 11802, "mojang")
Expand All @@ -26,10 +28,11 @@ preprocess {
neo12103.link(fabric12103)
neo12101.link(fabric12101)
neo12006.link(fabric12006)
neo12004.link(neo12002)
neo12004.link(neo12002) // Special split for Neo, since they refactor Network API again on newer version.
neo12002.link(fabric12002)

forge12001.link(fabric12001)
forge11904.link(fabric11904)
forge11902.link(fabric11902)
forge11802.link(fabric11802)
forge11605.link(fabric11605)
Expand All @@ -38,7 +41,8 @@ preprocess {
fabric12101.link(fabric12006)
fabric12006.link(fabric12002)
fabric12002.link(fabric12001)
fabric12001.link(fabric11902)
fabric12001.link(fabric11904)
fabric11904.link(fabric11902)
fabric11902.link(fabric11802)
fabric11802.link(fabric11605)
}
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ listOf(
"1.18.2-forge",
"1.19.2-fabric",
"1.19.2-forge",
"1.19.4-fabric",
"1.19.4-forge",
"1.20.1-fabric",
"1.20.1-forge",
"1.20.2-fabric",
Expand Down
Empty file added versions/1.19.4-fabric/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions versions/1.19.4-forge/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
loom.platform=forge

0 comments on commit 64ff7a4

Please sign in to comment.