Exclude dependencies already present in servers (only affects plugin)

This commit is contained in:
RednedEpic 2019-12-08 22:41:50 -06:00
parent 6f5fc4c85c
commit f59e4672a0
6 changed files with 54 additions and 76 deletions

View file

@ -27,7 +27,6 @@
<build>
<finalName>${outputName}-BungeeCord</finalName>
<directory>../../target</directory>
<defaultGoal>clean install</defaultGoal>
<resources>
<resource>
<directory>src/main/resources/</directory>
@ -45,16 +44,33 @@
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>net.md_5.bungee.jni</pattern>
<shadedPattern>org.geysermc.platform.bungeecord.shaded.jni</shadedPattern>
</relocation>
</relocations>
<minimizeJar>true</minimizeJar>
</configuration>
</execution>
</executions>
<configuration>
<relocations>
<relocation>
<pattern>net.md_5.bungee.jni</pattern>
<shadedPattern>org.geysermc.platform.bungeecord.shaded.jni</shadedPattern>
</relocation>
</relocations>
<minimizeJar>true</minimizeJar>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>com.google.code.gson:*</exclude>
<exclude>org.yaml:*</exclude>
<exclude>io.netty:*</exclude>
</excludes>
</artifactSet>
</configuration>
</plugin>
</plugins>