Shade MySQL connector into Sponge jar. Resolves #31

This commit is contained in:
Luck 2016-10-19 22:23:43 +01:00
parent 258bf1cc41
commit daef01194e
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -64,6 +64,10 @@
<pattern>org.bson</pattern>
<shadedPattern>me.lucko.luckperms.lib.bson</shadedPattern>
</relocation>
<relocation>
<pattern>com.mysql</pattern>
<shadedPattern>me.lucko.luckperms.lib.mysql</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
@ -122,6 +126,13 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<!-- MySQL -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.40</version>
<scope>compile</scope>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>