aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:10:07 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:10:07 +0000
commit16db73d284637ce1a7fd32e394fdb30329501243 (patch)
tree81d6ee51cd2ae5905fb60996c547b54a40691261
parentde7808188f5659756d0d2e80061b6a150fcc3467 (diff)
parent9c727483a6e538292e2eba7039a74c172bc61c63 (diff)
downloadsnakeyaml-android14-mainline-permission-release.tar.gz
Change-Id: I9d8e4a3d56ab6a55764e5c010683c8ca49c6ee31
-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.