Merge pull request #54 from dan-turner/bug/53-java-1.7

fix: change Android builds to explicitly target Java 1.7 as 1.8 is no…
This commit is contained in:
Péter Szilágyi 2016-06-10 11:34:29 +03:00 committed by GitHub
commit 882a09dd6e
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ for TARGET in $TARGETS; do
# Compile the Java wrapper and assemble into a .jar file
mkdir -p $jni/build
javac -cp . -d $jni/build $jni/${package//.//}/*.java
javac -target 1.7 -source 1.7 -cp . -d $jni/build $jni/${package//.//}/*.java
(cd $jni/build && jar cvf $archive/classes.jar *)
# Finally assemble the archive contents into an .aar and clean up