Skip to content
This repository was archived by the owner on May 31, 2020. It is now read-only.

Commit 0d852e4

Browse files
committed
Added a support.version to the Android support tarball.
This is to ensure the libs directory isn't optimized out.
1 parent c79bd3a commit 0d852e4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

build-android.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,15 @@
148148
prefix, so the libs directory will be unrolled. -->
149149

150150
<mkdir dir="${out.absolute.dir}/android/libs"/>
151-
<mkdir dir="${out.absolute.dir}/android/src"/>
152151
<move file="${out.absolute.dir}/${out.jar.name}.jar"
153152
todir="${out.absolute.dir}/android/libs" />
153+
154+
<echo file="${out.absolute.dir}/android/support.version" append="false">Python version: ${python-version}
155+
Build: ${release}
156+
</echo>
154157
<tar destfile="${out.absolute.dir}/Python-${python-version}-Android-support.b${release}.tar.gz"
155-
basedir="${out.absolute.dir}/android" />
158+
basedir="${out.absolute.dir}/android"
159+
compression="gzip" />
156160
</target>
157161

158162
<!--

0 commit comments

Comments
 (0)