aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:50:40 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:50:40 +0000
commit6e4c42dfc7afa8572aa280cb96c7ad2404c67fdc (patch)
tree2d49000fd26b4eaf66c5f34d803c861d0c9f79ee
parentb49145e568808bbf35bd90044ffd46ce79b37442 (diff)
parentb2c653efad15baf736c94ef04454e05088f2cbb7 (diff)
downloadjunit-params-6e4c42dfc7afa8572aa280cb96c7ad2404c67fdc.tar.gz
Snap for 10453563 from b2c653efad15baf736c94ef04454e05088f2cbb7 to mainline-ipsec-releaseaml_ips_341611000aml_ips_341510000aml_ips_340914280aml_ips_340914200aml_ips_340914000
Change-Id: Iece2e0ded4e6c928774a10b4b79ca940696ccf50
-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",
+ ],
+ },
}
//-------------------------------