-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.xml
51 lines (36 loc) · 1.14 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8" ?>
<project name="apkExtractor" default="build-jar" basedir=".">
<property environment="env"/>
<property name="build.dir" value="build"/>
<property name="src.dir" value="src"/>
<property name="bin.dir" value="bin"/>
<property name="lib.dir" value="lib"/>
<path id="project.classpath">
</path>
<target name="clean">
<delete dir="${bin.dir}" failonerror="true"/>
</target>
<target name="build" depends="clean">
<mkdir dir="${bin.dir}"/>
<javac srcdir="${src.dir}"
destdir="${bin.dir}"
includes="**"
encoding="utf-8"
source="1.5"
target="1.5"
nowarn="true"
debug="true"
debuglevel="lines,vars,source">
<classpath refid="project.classpath"/>
</javac>
</target>
<target name="build-jar" depends="build">
<jar destfile="apkextractor.jar"
basedir="${bin.dir}"
excludes="**/*.jar">
<manifest>
<attribute name="Main-Class" value="com.pras.Extract" />
</manifest>
</jar>
</target>
</project>