mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-01-18 12:34:20 +08:00
Shade and relocate jlibnoise (#2363)
* Shade and relocate jlibnoise * formatting fix
This commit is contained in:
parent
ff8e5054f5
commit
ab75fd7748
@ -98,10 +98,12 @@
|
||||
include(dependency("org.bstats:"))
|
||||
include(dependency("io.papermc:paperlib"))
|
||||
include(dependency("it.unimi.dsi:fastutil"))
|
||||
include(dependency("com.sk89q.lib:jlibnoise"))
|
||||
|
||||
relocate("org.bstats", "com.sk89q.worldedit.bstats")
|
||||
relocate("io.papermc.lib", "com.sk89q.worldedit.bukkit.paperlib")
|
||||
relocate("it.unimi.dsi.fastutil", "com.sk89q.worldedit.bukkit.fastutil")
|
||||
relocate("net.royawesome.jlibnoise", "com.sk89q.worldedit.jlibnoise")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -137,8 +137,10 @@
|
||||
archiveClassifier.set("dist-dev")
|
||||
dependencies {
|
||||
relocate("org.antlr.v4", "com.sk89q.worldedit.antlr4")
|
||||
relocate("net.royawesome.jlibnoise", "com.sk89q.worldedit.jlibnoise")
|
||||
|
||||
include(dependency("org.antlr:antlr4-runtime"))
|
||||
include(dependency("com.sk89q.lib:jlibnoise"))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -168,9 +168,11 @@
|
||||
tasks.named<ShadowJar>("shadowJar") {
|
||||
dependencies {
|
||||
relocate("org.antlr.v4", "com.sk89q.worldedit.antlr4")
|
||||
relocate("net.royawesome.jlibnoise", "com.sk89q.worldedit.jlibnoise")
|
||||
|
||||
include(dependency("org.antlr:antlr4-runtime"))
|
||||
include(dependency("org.mozilla:rhino-runtime"))
|
||||
include(dependency("com.sk89q.lib:jlibnoise"))
|
||||
}
|
||||
minimize {
|
||||
exclude(dependency("org.mozilla:rhino-runtime"))
|
||||
|
@ -70,9 +70,11 @@
|
||||
dependencies {
|
||||
include(dependency("org.bstats:"))
|
||||
include(dependency("org.antlr:antlr4-runtime"))
|
||||
include(dependency("com.sk89q.lib:jlibnoise"))
|
||||
|
||||
relocate("org.antlr.v4", "com.sk89q.worldedit.antlr4")
|
||||
relocate("org.bstats", "com.sk89q.worldedit.sponge.bstats")
|
||||
relocate("net.royawesome.jlibnoise", "com.sk89q.worldedit.jlibnoise")
|
||||
}
|
||||
}
|
||||
tasks.named("assemble").configure {
|
||||
|
Loading…
Reference in New Issue
Block a user