Skip to content

Commit 1f98826

Browse files
committed
fix(build): strip bundled legacy core classes (me/mrCookieSlime) to fix LinkageError
1 parent b0309e6 commit 1f98826

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ tasks {
7979
relocate("org.bstats", "galactifun.libs.bstats")
8080
archiveFileName.set("Galactifun-1.0.0-UNOFFICIAL.jar")
8181
relocate("io.github.mooy1.infinitylib", "io.github.addoncommunity.galactifun.infinitylib")
82-
exclude("META-INF/**")
82+
exclude("META-INF/**")
83+
// Core is provided at runtime (depend: Slimefun); never bundle it.
84+
exclude("io/github/thebusybiscuit/slimefun5/**")
85+
exclude("me/mrCookieSlime/**")
8386
}
8487
build {
8588
dependsOn(shadowJar)

0 commit comments

Comments
 (0)