1
0
mirror of https://github.com/nerzhul/nrz-androidlib.git synced 2025-06-07 16:06:21 +00:00

SDK path into a property file

This commit is contained in:
Loic Blot 2015-04-02 14:07:59 +02:00
parent c355da230c
commit cfa7a225af

View File

@ -2,9 +2,10 @@
<property name="dist.dir" location="dist" />
<property name="src" location="src"/>
<property name="build.dir" location="build"/>
<property file="androidsdk.properties" />
<path id="res.classpath">
<fileset dir="/opt/android-sdk/platforms/android-22/" includes="**/*.jar" />
<fileset dir="${androidsdk.path}" includes="**/*.jar" />
</path>
<target name="init">
@ -13,7 +14,6 @@
</target>
<target name="compile" depends="init">
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build.dir}" classpathref="res.classpath" includeantruntime="false" />
</target>