forked from jsankey/android-junit-report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
37 lines (31 loc) · 1.31 KB
/
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
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<project name="android-junit-report" default="jar">
<!-- Should define the location of android.jar to build against. -->
<property file="local.properties"/>
<property name="version" value="dev"/>
<property name="source.dir" value="src"/>
<property name="out.dir" value="build"/>
<property name="classes.dir" value="${out.dir}/classes"/>
<property name="jar" value="${out.dir}/android-junit-report-${version}.jar"/>
<target name="clean">
<delete dir="${out.dir}"/>
</target>
<target name="-init">
<mkdir dir="${out.dir}"/>
<mkdir dir="${classes.dir}"/>
</target>
<target name="compile" depends="-init">
<javac target="1.5" debug="true" destdir="${classes.dir}" classpath="${android.jar}">
<src path="${source.dir}"/>
</javac>
</target>
<target name="jar" depends="compile">
<jar destfile="${jar}" basedir="${classes.dir}">
<manifest>
<attribute name="Implementation-Vendor" value="Zutubi Pty Ltd"/>
<attribute name="Implementation-Title" value="Android JUnit Report Test Runner"/>
<attribute name="Implementation-Version" value="${version}"/>
</manifest>
</jar>
</target>
</project>