Skip to content

Commit

Permalink
Make (Neo)Forge not crash in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Nov 10, 2024
1 parent c022293 commit 809b4e9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions version.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,10 @@ dependencies {
}.let { "neoForge"("net.neoforged:neoforge:$it") }
}

include(implementation("org.quiltmc.parsers:json:0.3.0")!!)
include(implementation("org.semver4j:semver4j:5.3.0")!!)
if (isForgeLike) {
minecraftLibraries("org.quiltmc.parsers:json:0.3.0")
}
fun simpleJavaLibrary(notation: Any) = minecraftRuntimeLibraries(include(implementation(notation)!!)!!)

simpleJavaLibrary("org.quiltmc.parsers:json:0.3.0")
simpleJavaLibrary("org.semver4j:semver4j:5.3.0")

if (isFabric) {
when (mcVersion) {
Expand Down

0 comments on commit 809b4e9

Please sign in to comment.