Skip to content

Commit

Permalink
[Sponge] Stop trying to shade fastutil
Browse files Browse the repository at this point in the history
It's just not necessary anymore, the versions match
  • Loading branch information
octylFractal authored and me4502 committed Jun 9, 2023
1 parent 91c9786 commit bb15dbc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions worldedit-sponge/build.gradle.kts
Expand Up @@ -50,11 +50,7 @@ sponge {
dependencies {
api(project(":worldedit-core"))
api(project(":worldedit-libs:sponge"))
// TODO remove after VG merges and releases my patch
// https://github.com/SpongePowered/VanillaGradle/pull/66
minecraft(minecraft.platform().get().moduleName() + ":" + minecraft.version().get()) {
exclude("it.unimi.dsi", "fastutil")
}

implementation(platform("org.apache.logging.log4j:log4j-bom:${Versions.LOG4J}") {
because("Sponge 8 (will?) provides Log4J")
})
Expand All @@ -74,11 +70,9 @@ tasks.named<ShadowJar>("shadowJar") {
dependencies {
include(dependency("org.bstats:"))
include(dependency("org.antlr:antlr4-runtime"))
include(dependency("it.unimi.dsi:fastutil"))

relocate("org.antlr.v4", "com.sk89q.worldedit.antlr4")
relocate("org.bstats", "com.sk89q.worldedit.sponge.bstats")
relocate("it.unimi.dsi.fastutil", "com.sk89q.worldedit.sponge.fastutil")
}
}
tasks.named("assemble").configure {
Expand Down

0 comments on commit bb15dbc

Please sign in to comment.