aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:01:14 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:01:14 +0000
commitacb93fa3167c88b6a9d915ead10ea51d77407cb8 (patch)
tree81d6ee51cd2ae5905fb60996c547b54a40691261
parent7198e45b7056cc62e475e8dd7fedacac5902cf2e (diff)
parent9c727483a6e538292e2eba7039a74c172bc61c63 (diff)
downloadsnakeyaml-android14-mainline-mediaprovider-release.tar.gz
Change-Id: I467dbeafe8a6f26263e7e0ec0cfcf547c0d71c7d
-rw-r--r--Android.bp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c00d473e..23339fbf 100644
--- a/Android.bp
+++ b/Android.bp
@@ -99,6 +99,13 @@ java_library {
srcs: [":snakeyaml_patched_src_files"],
},
},
+ // b/267831518: Pin tradefed and dependencies to Java 11.
+ java_version: "11",
+ errorprone: {
+ javacflags: [
+ "-Xep:ReturnValueIgnored:WARN",
+ ],
+ },
}
// TODO: Consider adding tests.