try to find dx.jar

This commit is contained in:
Julian Dolby 2018-02-05 15:43:49 -08:00
parent aa414b3503
commit 7d76e20d2a
1 changed files with 5 additions and 2 deletions

View File

@ -36,7 +36,10 @@
<property name="bundleJavacTarget" value="${javacTarget}"/>
<property name="bundleBootClasspath" value="${bootclasspath}"/>
<property environment="env"/>
<property environment="env" />
<condition property="androiddir" value="${env.ANDROID_HOME}">
<isset property="env.ANDROID_HOME" />
</condition>
<target name="sampleLexPresent" depends="init">
<available file="${plugin.destination}/data/sample.lex" property="sample.lex.present"/>
@ -65,7 +68,7 @@
<target name="fetchDxJar">
<mkdir dir="${basedir}/lib/"/>
<copy
file="${env.ANDROID_HOME}/build-tools/26.0.2/lib/dx.jar"
file="${androiddir}/build-tools/26.0.2/lib/dx.jar"
tofile="${basedir}/lib/dx.jar" force="true"/>
</target>