Add Windows natives

master
Graham 5 years ago
parent 96b12a9a0e
commit 03fa6e4af6
  1. 32
      pom.xml
  2. 20
      src/assembly/jar.xml

@ -76,6 +76,38 @@
<classifier>x86_64-MacOSX-gcc-shared</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>dev.openrs2</groupId>
<artifactId>openrs2-gl-natives</artifactId>
<version>${openrs2.natives.version}</version>
<type>nar</type>
<classifier>x86-Windows-msvc-shared</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>dev.openrs2</groupId>
<artifactId>openrs2-misc-natives</artifactId>
<version>${openrs2.natives.version}</version>
<type>nar</type>
<classifier>x86-Windows-msvc-shared</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>dev.openrs2</groupId>
<artifactId>openrs2-gl-natives</artifactId>
<version>${openrs2.natives.version}</version>
<type>nar</type>
<classifier>amd64-Windows-msvc-shared</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>dev.openrs2</groupId>
<artifactId>openrs2-misc-natives</artifactId>
<version>${openrs2.natives.version}</version>
<type>nar</type>
<classifier>amd64-Windows-msvc-shared</classifier>
<scope>provided</scope>
</dependency>
</dependencies>
<repositories>

@ -26,6 +26,26 @@
<outputDirectory>natives/mac-amd64</outputDirectory>
<destName>libjaggl.jnilib</destName>
</file>
<file>
<source>${openrs2.natives.directory}/x86-Windows-msvc/shared/openrs2-gl-natives-${openrs2.natives.version}.dll</source>
<outputDirectory>natives/windows-i386</outputDirectory>
<destName>jaggl.dll</destName>
</file>
<file>
<source>${openrs2.natives.directory}/x86-Windows-msvc/shared/openrs2-misc-natives-${openrs2.natives.version}.dll</source>
<outputDirectory>natives/windows-i386</outputDirectory>
<destName>jagmisc.dll</destName>
</file>
<file>
<source>${openrs2.natives.directory}/amd64-Windows-msvc/shared/openrs2-gl-natives-${openrs2.natives.version}.dll</source>
<outputDirectory>natives/windows-amd64</outputDirectory>
<destName>jaggl.dll</destName>
</file>
<file>
<source>${openrs2.natives.directory}/amd64-Windows-msvc/shared/openrs2-misc-natives-${openrs2.natives.version}.dll</source>
<outputDirectory>natives/windows-amd64</outputDirectory>
<destName>jagmisc.dll</destName>
</file>
<!-- workaround for https://issues.apache.org/jira/browse/MASSEMBLY-835 -->
<file>
<source>pom.xml</source>

Loading…
Cancel
Save