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
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.
This commit is contained in:
19
src/api-impl/build.xml
Normal file
19
src/api-impl/build.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<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>
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user