summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2016-02-23 17:02:44 +0000
committerNeil Fuller <nfuller@google.com>2016-02-24 11:49:52 +0000
commitc1c82dc1e4c1c46da26c23a79a7e4a6edc6513a0 (patch)
tree4a72c42b768c60cbec2e9ad6fad122b4d332b8d6
parent37d52cb7516118a66779f611efc293173d8b7fb6 (diff)
downloadapache-commons-math-c1c82dc1e4c1c46da26c23a79a7e4a6edc6513a0.tar.gz
vogar still uses javac/dx by default. dx does not handle v52 class files. The default java version is going to switch to 1.8. This change pins the targets need by vogar to 1.7. Bug: 26753820 Bug: 27310428 (cherry picked from commit 8238dc2d015b4d44bdac5c9a25befdd42eae0663) Change-Id: Id40b5d2fe475b5ca50162b75f018b31a98cddf4f
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index c29ccce..f1fbc53 100644
--- a/Android.mk
+++ b/Android.mk
@@ -37,4 +37,5 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(apache-commons-math_src_files)
LOCAL_JAVACFLAGS := -encoding UTF-8
LOCAL_SDK_VERSION := current
+LOCAL_JAVA_LANGUAGE_VERSION := 1.7
include $(BUILD_HOST_JAVA_LIBRARY)