You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
Meson doesn't support incremental builds for java, so delegate the java compilation to Ant if available.
20 lines
580 B
XML
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>
|