Files
android_translation_layer/src/api-impl/build.xml
Julian Winkler 413d3ee69f compile java files with ant for incremental builds
Meson doesn't support incremental builds for java, so delegate the java
compilation to Ant if available.
2024-12-13 21:43:50 +01:00

20 lines
580 B
XML

<project name="api-impl" default="dist">
<!-- the Ant build is intended to be started from Meson. The properties will be set using commandline parameters -->
<target name="compile">
<mkdir dir="${build}"/>
<javac srcdir="${srcdir}" includes="${includes}" destdir="${build}" includeantruntime="false" debug="true">
<compilerarg line="${javaargs}"/>
</javac>
</target>
<target name="dist" depends="compile">
<jar jarfile="${jarfile}" basedir="${build}"/>
</target>
<target name="clean">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>