don't include sqlite sources in packaged jar

This commit is contained in:
yugecin 2017-04-30 18:24:56 +02:00
parent 5d8f56cad6
commit eb96c49e6d
2 changed files with 11 additions and 0 deletions

View File

@ -133,6 +133,9 @@ then run (code is compiled automatically when you run)
<exclude name="org/newdawn/slick/openal/AudioInputStream*" /> <exclude name="org/newdawn/slick/openal/AudioInputStream*" />
<exclude name="org/newdawn/slick/openal/OpenALStreamPlayer*" /> <exclude name="org/newdawn/slick/openal/OpenALStreamPlayer*" />
<exclude name="org/newdawn/slick/openal/SoundStore*" /> <exclude name="org/newdawn/slick/openal/SoundStore*" />
<!-- sqlite contains sources for some reason -->
<exclude name="**/*.java" />
<exclude name="**/*.c" />
</zipfileset> </zipfileset>
</jar> </jar>

View File

@ -131,6 +131,14 @@
<exclude>org/newdawn/slick/openal/SoundStore*</exclude> <exclude>org/newdawn/slick/openal/SoundStore*</exclude>
</excludes> </excludes>
</filter> </filter>
<filter>
<!-- sqlite contains sources for some reason -->
<artifact>*:sqlite-jdbc</artifact>
<excludes>
<exclude>**/*.java</exclude>
<exclude>**/*.c</exclude>
</excludes>
</filter>
</filters> </filters>
<transformers> <transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">