mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-01-20 15:40:18 +01:00
Use javac with the -h arg instead of javah that's now deprecated.
This commit is contained in:
parent
252ca8876f
commit
c71f96a708
|
|
@ -2,37 +2,8 @@
|
|||
<project name="Direct Input Plugin" basedir=".">
|
||||
<target name="init">
|
||||
<mkdir dir="target/natives"/>
|
||||
<mkdir dir="target/generated-sources/natives"/>
|
||||
</target>
|
||||
|
||||
<target depends="init" name="create_jniheaders">
|
||||
<javah destdir="target/generated-sources/natives">
|
||||
<classpath>
|
||||
<pathelement path="classes"/>
|
||||
<pathelement location="../../coreAPI/classes"/>
|
||||
</classpath>
|
||||
<class name="net.java.games.input.IDirectInput"/>
|
||||
<class name="net.java.games.input.IDirectInputDevice"/>
|
||||
<class name="net.java.games.input.IDirectInputEffect"/>
|
||||
</javah>
|
||||
<javah destdir="target/generated-sources/natives">
|
||||
<classpath>
|
||||
<pathelement path="target/classes"/>
|
||||
<pathelement location="../../coreAPI/target/classes"/>
|
||||
</classpath>
|
||||
<class name="net.java.games.input.DummyWindow"/>
|
||||
</javah>
|
||||
<javah destdir="target/generated-sources/natives">
|
||||
<classpath>
|
||||
<pathelement path="classes"/>
|
||||
<pathelement location="../../coreAPI/bin/jinput-core.jar"/>
|
||||
</classpath>
|
||||
<class name="net.java.games.input.RawInputEnvironmentPlugin"/>
|
||||
<class name="net.java.games.input.RawInputEventQueue"/>
|
||||
<class name="net.java.games.input.RawDevice"/>
|
||||
</javah>
|
||||
</target>
|
||||
|
||||
<target name="compile_native" depends="init,create_jniheaders">
|
||||
<ant dir="src/native" target="compile"/>
|
||||
</target>
|
||||
|
|
|
|||
|
|
@ -27,6 +27,15 @@
|
|||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<compilerArgs>
|
||||
<arg>-h</arg>
|
||||
<arg>${project.build.directory}/generated-sources/natives</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
|
|
|
|||
Loading…
Reference in a new issue