mirror of
https://github.com/status-im/xgo.git
synced 2025-01-13 20:35:50 +00:00
fix: change Android builds to explicitly target Java 1.7 as 1.8 is not yet supported
1.8 support is coming in Android N. Closes #53 References: http://android-developers.blogspot.com.au/2016/03/first-preview-of-android-n-developer.html
This commit is contained in:
parent
e7d7ac2c02
commit
4d65b4304b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user