Skip to content

Commit

Permalink
fabric: Fix #221 by using Jankson-Fabric again
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Nov 7, 2021
1 parent 5771f2f commit bec885e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 1 addition & 5 deletions fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ dependencies {
modImplementation("net.fabricmc.fabric-api:fabric-api:${rootProject.property("fabric-api")}")
modApi("net.fabricmc:fabric-language-kotlin:${rootProject.property("fabric-kotlin")}")

bundle("blue.endless:jankson:${rootProject.property("jankson")}")
include(modImplementation("io.github.cottonmc:Jankson-Fabric:${rootProject.property("jankson-fabric")}")!!)
include(modImplementation("io.github.cottonmc:LibGui:${rootProject.property("libgui")}")!!)
include(modImplementation("io.github.cottonmc:LibCD:${rootProject.property("libcd")}")!!)

Expand All @@ -93,8 +93,4 @@ tasks {
expand("version" to project.version)
}
}

shadowJar {
relocate("blue.endless.jankson", "juuxel.adorn.relocated.jankson")
}
}
1 change: 1 addition & 0 deletions fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

"fabric": ">=0.41.0",

"jankson": "^3.0.1",
"libgui": "^4.1.3",
"libcd": ["^2.0.0", "^3.0.3"]
},
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kotlin.code.style = official
kotlin.stdlib.default.dependency = false

# Adorn
mod-version = 2.3.0
mod-version = 2.3.1

# Minecraft
minecraft-version = 1.17.1
Expand All @@ -27,3 +27,4 @@ libgui = 4.1.3+1.17.1
modmenu = 2.0.2
libcd = 3.0.3+1.16.3
dashloader = 2.0-pre2
jankson-fabric = 3.0.1+j1.2.0

0 comments on commit bec885e

Please sign in to comment.