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:
parent
c355da230c
commit
cfa7a225af
@ -2,9 +2,10 @@
|
|||||||
<property name="dist.dir" location="dist" />
|
<property name="dist.dir" location="dist" />
|
||||||
<property name="src" location="src"/>
|
<property name="src" location="src"/>
|
||||||
<property name="build.dir" location="build"/>
|
<property name="build.dir" location="build"/>
|
||||||
|
<property file="androidsdk.properties" />
|
||||||
|
|
||||||
<path id="res.classpath">
|
<path id="res.classpath">
|
||||||
<fileset dir="/opt/android-sdk/platforms/android-22/" includes="**/*.jar" />
|
<fileset dir="${androidsdk.path}" includes="**/*.jar" />
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<target name="init">
|
<target name="init">
|
||||||
@ -13,7 +14,6 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="compile" depends="init">
|
<target name="compile" depends="init">
|
||||||
<!-- Compile the java code from ${src} into ${build} -->
|
|
||||||
<javac srcdir="${src}" destdir="${build.dir}" classpathref="res.classpath" includeantruntime="false" />
|
<javac srcdir="${src}" destdir="${build.dir}" classpathref="res.classpath" includeantruntime="false" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user