mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-24 17:47:40 +01:00
Strip META-INF/maven and services - avoid problems with forge 1.18
This commit is contained in:
parent
1543a2e7c4
commit
f40cc3d6ca
@ -44,6 +44,8 @@ shadowJar {
|
||||
include(dependency('org.eclipse.jetty.orbit:javax.servlet:'))
|
||||
include(dependency('org.postgresql:postgresql:'))
|
||||
include(dependency(':DynmapCoreAPI'))
|
||||
exclude("META-INF/maven/**")
|
||||
exclude("META-INF/services/**")
|
||||
}
|
||||
relocate('org.json.simple', 'org.dynmap.json.simple')
|
||||
relocate('org.yaml.snakeyaml', 'org.dynmap.snakeyaml')
|
||||
|
@ -47,6 +47,8 @@ processResources
|
||||
shadowJar {
|
||||
dependencies {
|
||||
include(dependency(':DynmapCore'))
|
||||
exclude("META-INF/maven/**")
|
||||
exclude("META-INF/services/**")
|
||||
}
|
||||
archiveName = "Dynmap-${parent.version}-forge-1.16.5.jar"
|
||||
destinationDir = file '../target'
|
||||
|
@ -51,6 +51,8 @@ processResources
|
||||
shadowJar {
|
||||
dependencies {
|
||||
include(dependency(':DynmapCore'))
|
||||
exclude("META-INF/maven/**")
|
||||
exclude("META-INF/services/**")
|
||||
}
|
||||
archiveName = "Dynmap-${parent.version}-forge-1.17.1.jar"
|
||||
destinationDir = file '../target'
|
||||
|
@ -53,6 +53,8 @@ shadowJar {
|
||||
dependencies {
|
||||
include(dependency(':DynmapCore'))
|
||||
include(dependency("commons-codec:commons-codec:"))
|
||||
exclude("META-INF/maven/**")
|
||||
exclude("META-INF/services/**")
|
||||
}
|
||||
relocate('org.apache.commons.codec', 'org.dynmap.forge_1_18.commons.codec')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user