mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-27 12:45:59 +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.eclipse.jetty.orbit:javax.servlet:'))
|
||||||
include(dependency('org.postgresql:postgresql:'))
|
include(dependency('org.postgresql:postgresql:'))
|
||||||
include(dependency(':DynmapCoreAPI'))
|
include(dependency(':DynmapCoreAPI'))
|
||||||
|
exclude("META-INF/maven/**")
|
||||||
|
exclude("META-INF/services/**")
|
||||||
}
|
}
|
||||||
relocate('org.json.simple', 'org.dynmap.json.simple')
|
relocate('org.json.simple', 'org.dynmap.json.simple')
|
||||||
relocate('org.yaml.snakeyaml', 'org.dynmap.snakeyaml')
|
relocate('org.yaml.snakeyaml', 'org.dynmap.snakeyaml')
|
||||||
|
@ -47,6 +47,8 @@ processResources
|
|||||||
shadowJar {
|
shadowJar {
|
||||||
dependencies {
|
dependencies {
|
||||||
include(dependency(':DynmapCore'))
|
include(dependency(':DynmapCore'))
|
||||||
|
exclude("META-INF/maven/**")
|
||||||
|
exclude("META-INF/services/**")
|
||||||
}
|
}
|
||||||
archiveName = "Dynmap-${parent.version}-forge-1.16.5.jar"
|
archiveName = "Dynmap-${parent.version}-forge-1.16.5.jar"
|
||||||
destinationDir = file '../target'
|
destinationDir = file '../target'
|
||||||
|
@ -51,6 +51,8 @@ processResources
|
|||||||
shadowJar {
|
shadowJar {
|
||||||
dependencies {
|
dependencies {
|
||||||
include(dependency(':DynmapCore'))
|
include(dependency(':DynmapCore'))
|
||||||
|
exclude("META-INF/maven/**")
|
||||||
|
exclude("META-INF/services/**")
|
||||||
}
|
}
|
||||||
archiveName = "Dynmap-${parent.version}-forge-1.17.1.jar"
|
archiveName = "Dynmap-${parent.version}-forge-1.17.1.jar"
|
||||||
destinationDir = file '../target'
|
destinationDir = file '../target'
|
||||||
|
@ -53,6 +53,8 @@ shadowJar {
|
|||||||
dependencies {
|
dependencies {
|
||||||
include(dependency(':DynmapCore'))
|
include(dependency(':DynmapCore'))
|
||||||
include(dependency("commons-codec:commons-codec:"))
|
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')
|
relocate('org.apache.commons.codec', 'org.dynmap.forge_1_18.commons.codec')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user