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