shade in mysql and jda
This commit is contained in:
parent
db46624712
commit
eeb3094946
20
pom.xml
20
pom.xml
|
|
@ -44,14 +44,30 @@
|
||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||||
|
<artifactSet>
|
||||||
|
<includes>
|
||||||
|
<include>net.kyori:adventure-text-minimessage</include>
|
||||||
|
<include>mysql:mysql-connector-java</include>
|
||||||
|
<include>net.dv8tion:JDA</include>
|
||||||
|
</includes>
|
||||||
|
<excludes>
|
||||||
|
<exclude>META-INF/*.MF</exclude>
|
||||||
|
</excludes>
|
||||||
|
</artifactSet>
|
||||||
|
<transformers>
|
||||||
|
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
||||||
|
<resource>META-INF/services/java.sql.Driver</resource>
|
||||||
|
</transformer>
|
||||||
|
</transformers>
|
||||||
<relocations>
|
<relocations>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>net.kyori.adventure.text.minimessage</pattern>
|
<pattern>net.kyori.adventure.text.minimessage</pattern>
|
||||||
<shadedPattern>com.alttd.proxyutils.libs.net.kyori.adventure.text.minimessage</shadedPattern>
|
<shadedPattern>com.alttd.proxydiscordlink.libs.net.kyori.adventure.text.minimessage</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>net.dv8tion</pattern>
|
<pattern>net.dv8tion</pattern>
|
||||||
<shadedPattern>com.alttd.proxyutils.libs.net.dv8tion</shadedPattern>
|
<shadedPattern>com.alttd.proxydiscordlink.libs.net.dv8tion</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
</relocations>
|
</relocations>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user