Strip META-INF/maven and services - avoid problems with forge 1.18

This commit is contained in:
Mike Primm 2021-12-08 20:34:03 -06:00
parent 1543a2e7c4
commit f40cc3d6ca
4 changed files with 8 additions and 0 deletions

View file

@ -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')