android: build with java 8 target
The latest Android `sdkmanager` tool requires a version of the jdk that no longer supports Java 7 as a target
This commit is contained in:
parent
c1a852d0e8
commit
3284a61f43
|
@ -16,7 +16,7 @@ GENCLASS="$D/classes"
|
||||||
GENINCLUDE="$D/include"
|
GENINCLUDE="$D/include"
|
||||||
|
|
||||||
mkdir -p "$GENSRC/$JAVA_PKG_PATH"
|
mkdir -p "$GENSRC/$JAVA_PKG_PATH"
|
||||||
"$JAVAC" -source 1.7 -target 1.7 -Xlint:-options \
|
"$JAVAC" -source 1.8 -target 1.8 -Xlint:-options \
|
||||||
-cp "$CLASSPATH" \
|
-cp "$CLASSPATH" \
|
||||||
-h "$GENINCLUDE" \
|
-h "$GENINCLUDE" \
|
||||||
-d "$GENCLASS" \
|
-d "$GENCLASS" \
|
||||||
|
|
Loading…
Reference in New Issue