-
Notifications
You must be signed in to change notification settings - Fork 256
/
build.xml
30 lines (25 loc) · 891 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<project>
<property name="ant.build.javac.source" value="8" />
<property name="ant.build.javac.target" value="8" />
<target name="clean">
<delete dir="build/classes"/>
<delete dir="build/test-classes"/>
</target>
<target name="compile">
<mkdir dir="build/classes"/>
<javac srcdir="jnius/src" destdir="build/classes"
includeantruntime='false'
encoding="UTF-8"/>
</target>
<target name="test-compile">
<mkdir dir="build/test-classes"/>
<javac srcdir="tests/java-src" destdir="build/test-classes"
includeantruntime='false'
encoding="UTF-8"/>
</target>
<target name="jar" depends="compile">
<jar destfile="build/pyjnius.jar" basedir="build/classes">
</jar>
</target>
<target name="all" depends="jar,test-compile"/>
</project>