mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Only add adapters to dist jar
(cherry picked from commit 20d630ce5b217799811779d7581d5878ddc83a6d)
This commit is contained in:
parent
1fd4d7c27e
commit
989680d159
@ -71,9 +71,7 @@ tasks.named<Copy>("processResources") {
|
|||||||
filesMatching("plugin.yml") {
|
filesMatching("plugin.yml") {
|
||||||
expand("internalVersion" to project.ext["internalVersion"])
|
expand("internalVersion" to project.ext["internalVersion"])
|
||||||
}
|
}
|
||||||
from(zipTree("src/main/resources/worldedit-adapters.jar").matching {
|
// exclude adapters entirely from this JAR, they should only be in the shadow JAR
|
||||||
exclude("META-INF/")
|
|
||||||
})
|
|
||||||
exclude("**/worldedit-adapters.jar")
|
exclude("**/worldedit-adapters.jar")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,6 +83,9 @@ tasks.named<Jar>("jar") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.named<ShadowJar>("shadowJar") {
|
tasks.named<ShadowJar>("shadowJar") {
|
||||||
|
from(zipTree("src/main/resources/worldedit-adapters.jar").matching {
|
||||||
|
exclude("META-INF/")
|
||||||
|
})
|
||||||
dependencies {
|
dependencies {
|
||||||
relocate("org.slf4j", "com.sk89q.worldedit.slf4j")
|
relocate("org.slf4j", "com.sk89q.worldedit.slf4j")
|
||||||
relocate("org.apache.logging.slf4j", "com.sk89q.worldedit.log4jbridge")
|
relocate("org.apache.logging.slf4j", "com.sk89q.worldedit.log4jbridge")
|
||||||
|
Loading…
Reference in New Issue
Block a user