mirror of https://github.com/status-im/xgo.git
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:
commit
882a09dd6e
|
@ -289,7 +289,7 @@ for TARGET in $TARGETS; do
|
||||||
|
|
||||||
# Compile the Java wrapper and assemble into a .jar file
|
# Compile the Java wrapper and assemble into a .jar file
|
||||||
mkdir -p $jni/build
|
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 *)
|
(cd $jni/build && jar cvf $archive/classes.jar *)
|
||||||
|
|
||||||
# Finally assemble the archive contents into an .aar and clean up
|
# Finally assemble the archive contents into an .aar and clean up
|
||||||
|
|
Loading…
Reference in New Issue