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:
Colin Edwards 2023-12-13 11:50:21 -06:00
parent c1a852d0e8
commit 3284a61f43
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ GENCLASS="$D/classes"
GENINCLUDE="$D/include"
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" \
-h "$GENINCLUDE" \
-d "$GENCLASS" \