aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:55:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:55:10 +0000
commit00b2c951f092fcdf2606d5a85051ee323dab2759 (patch)
tree0aaa6c8a4fa87af924826f8641411d0f650730e4 /Android.bp
parent764c393b978b18b54070034b73719d35eb7a9a8d (diff)
parent1647dd701f16e1ec4092476406763683dec44960 (diff)
downloadjunit-00b2c951f092fcdf2606d5a85051ee323dab2759.tar.gz
Change-Id: If9ce808850a9e3c6fe76a9d2bd9bc4c11894f65b
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index b62e615..94dfb88 100644
--- a/Android.bp
+++ b/Android.bp
@@ -45,6 +45,9 @@ java_library_static {
sdk_version: "core_current",
static_libs: ["hamcrest"],
+ // b/267831518: Pin tradefed and dependencies to Java 11.
+ java_version: "11",
+
errorprone: {
javacflags: ["-Xep:DoNotCall:OFF"]
}