Skip to content

Commit

Permalink
Fix #3747 Restore compatibility with Fabric 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Sep 9, 2024
1 parent 58fdfac commit bc14988
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"accessWidener" : "jei.accesswidener",

"depends": {
"fabricloader": ">=${fabricLoaderVersion}",
"fabric-api": ">=${fabricApiVersion}",
"fabricloader": "fabricLoaderVersionRange",
"fabric-api": "fabricApiVersionRange",
"java": ">=${modJavaVersion}"
}
}
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ repositories {
val curseHomepageUrl: String by extra
val curseProjectId: String by extra
val fabricApiVersion: String by extra
val fabricApiVersionRange: String by extra
val fabricLoaderVersion: String by extra
val fabricLoaderVersionRange: String by extra
val forgeVersion: String by extra
val forgeVersionRange: String by extra
val githubUrl: String by extra
Expand Down Expand Up @@ -101,7 +103,9 @@ subprojects {
val properties = mapOf(
"curseHomepageUrl" to curseHomepageUrl,
"fabricApiVersion" to fabricApiVersion,
"fabricApiVersionRange" to fabricApiVersionRange,
"fabricLoaderVersion" to fabricLoaderVersion,
"fabricLoaderVersionRange" to fabricLoaderVersionRange,
"forgeVersionRange" to forgeVersionRange,
"githubUrl" to githubUrl,
"forgeLoaderVersionRange" to forgeLoaderVersionRange,
Expand Down
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ neogradle.subsystems.conventions.runs.create-default-run-per-type=false

# Fabric
# https://fabricmc.net/develop/
fabricLoaderVersion=0.16.3
fabricLoaderVersion=0.16.5
fabricApiVersion=0.103.0+1.21.1
fabricLoaderVersionRange=>=0.16.3
fabricApiVersionRange=>=0.102.0+1.21

# Mappings
# https://parchmentmc.org/docs/getting-started
Expand Down

0 comments on commit bc14988

Please sign in to comment.