forked from rtreffer/AsmackLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
35 lines (29 loc) · 1.29 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="AsmackLibrary" default="library">
<property file="local.properties"/>
<property file="build.properties"/>
<property file="default.properties"/>
<path id="android.antlibs">
<pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
<pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
<pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
<pathelement path="${sdk.dir}/tools/lib/apkbuilder.jar" />
<pathelement path="${sdk.dir}/tools/lib/jarutils.jar" />
</path>
<taskdef
name="setup"
classname="com.android.ant.SetupTask"
classpathref="android.antlibs"
/>
<setup />
<target name="library" depends="-dirs,compile,-post-compile,-package-resources"
description="Builds the application and signs it with a debug key.">
<jar destfile="${out.absolute.dir}/${ant.project.name}-plain.jar" basedir="${out.classes.absolute.dir}" />
<zip destfile="${out.absolute.dir}/${ant.project.name}.jar" duplicate="preserve">
<fileset dir="${out.classes.absolute.dir}">
<include name="**/*" />
</fileset>
<zipgroupfileset dir="libs" includes="*.jar"/>
</zip>
</target>
</project>