Replace javah by javac -h, only write new constant files if something changes.

The const_generator changes help to ensure that e.g. Java rebuilds don't keep
rebuilding everything.
This commit is contained in:
Robert Xiao
2023-07-06 20:12:36 -07:00
parent 763d04127c
commit f55e7834ba
4 changed files with 24 additions and 9 deletions

View File

@@ -33,6 +33,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<compilerArgs>
<arg>-h</arg>
<arg>target/headers</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</pluginManagement>