aboutsummaryrefslogtreecommitdiff
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
commitffcee2518173b8a001bfaa02b30b7ae95c2d853f (patch)
tree2d49000fd26b4eaf66c5f34d803c861d0c9f79ee
parent50e14021b763934150a912906425f82b63bb9a54 (diff)
parentb2c653efad15baf736c94ef04454e05088f2cbb7 (diff)
downloadjunit-params-android14-mainline-extservices-release.tar.gz
Snap for 10453563 from b2c653efad15baf736c94ef04454e05088f2cbb7 to mainline-extservices-releaseaml_ext_341620040aml_ext_341518010aml_ext_341414010aml_ext_341317010aml_ext_341131030aml_ext_341027030android14-mainline-extservices-release
Change-Id: Ib49aca3c8d4a2f05d6995f7624526e0b0baee17b
-rw-r--r--Android.bp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index d1a7625..dc2d598 100644
--- a/Android.bp
+++ b/Android.bp
@@ -41,6 +41,8 @@ java_library {
srcs: ["src/main/java/**/*.java"],
sdk_version: "core_current",
static_libs: ["junit"],
+ // b/267831518: Pin tradefed and dependencies to Java 11.
+ java_version: "11",
}
// compatibility host library with old name
@@ -72,6 +74,11 @@ java_test {
"junit-params",
"junit-params-assertj-core",
],
+ errorprone: {
+ javacflags: [
+ "-Xep:JUnitParameterMethodNotFound:WARN",
+ ],
+ },
}
//-------------------------------