mirror of
https://github.com/nerzhul/nrz-androidlib.git
synced 2025-06-07 07:56:28 +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="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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user