mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2025-12-06 08:01:59 +01:00
Build uber jars
This commit is contained in:
parent
4f6269fdd2
commit
06d9d5ca66
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -10,3 +10,4 @@ dist/
|
||||||
eclipse_bin/
|
eclipse_bin/
|
||||||
*.iml
|
*.iml
|
||||||
.idea/
|
.idea/
|
||||||
|
dependency-reduced-pom.xml
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>jinput</artifactId>
|
<artifactId>jinput</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>JInput - Uber jar</name>
|
<name>JInput - Uber jar</name>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
|
@ -69,6 +69,82 @@
|
||||||
<groupId>com.googlecode.mavennatives</groupId>
|
<groupId>com.googlecode.mavennatives</groupId>
|
||||||
<artifactId>maven-nativedependencies-plugin</artifactId>
|
<artifactId>maven-nativedependencies-plugin</artifactId>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
|
<version>3.1.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>default</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>shade</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifactSet>
|
||||||
|
<excludes>
|
||||||
|
<exclude>net.java.jinput:osx-plugin:jar:natives-osx</exclude>
|
||||||
|
<exclude>net.java.jinput:linux-plugin:jar:natives-linux</exclude>
|
||||||
|
<exclude>net.java.jinput:windows-plugin:jar:natives-windows</exclude>
|
||||||
|
<exclude>net.java.jinput:wintab-plugin:jar:natives-wintab</exclude>
|
||||||
|
</excludes>
|
||||||
|
</artifactSet>
|
||||||
|
<createSourcesJar>true</createSourcesJar>
|
||||||
|
<shadedArtifactAttached>false</shadedArtifactAttached>
|
||||||
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>natives</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>shade</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<filters>
|
||||||
|
<filter>
|
||||||
|
<artifact>net.java.jinput:osx-plugin</artifact>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.jnilib</include>
|
||||||
|
<include>META-INF/**/*</include>
|
||||||
|
</includes>
|
||||||
|
</filter>
|
||||||
|
<filter>
|
||||||
|
<artifact>net.java.jinput:linux-plugin</artifact>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.so</include>
|
||||||
|
<include>META-INF/**/*</include>
|
||||||
|
</includes>
|
||||||
|
</filter>
|
||||||
|
<filter>
|
||||||
|
<artifact>net.java.jinput:windows-plugin</artifact>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.dll</include>
|
||||||
|
<include>META-INF/**/*</include>
|
||||||
|
</includes>
|
||||||
|
</filter>
|
||||||
|
<filter>
|
||||||
|
<artifact>net.java.jinput:wintab-plugin</artifact>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.dll</include>
|
||||||
|
<include>META-INF/**/*</include>
|
||||||
|
</includes>
|
||||||
|
</filter>
|
||||||
|
</filters>
|
||||||
|
<artifactSet>
|
||||||
|
<excludes>
|
||||||
|
<exclude>net.java.jutils:jutils</exclude>
|
||||||
|
<exclude>net.java.jinput:jinput</exclude>
|
||||||
|
<exclude>net.java.jinput:coreapi</exclude>
|
||||||
|
</excludes>
|
||||||
|
</artifactSet>
|
||||||
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||||
|
<shadedClassifierName>natives-all</shadedClassifierName>
|
||||||
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue