aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 01:06:32 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 01:06:32 +0000
commit70454a9ef203b8a249bf06c6aa0205a17eec63c1 (patch)
tree81d6ee51cd2ae5905fb60996c547b54a40691261
parente32069587948182b9df75923fc7f2b1f4eebd20b (diff)
parent9c727483a6e538292e2eba7039a74c172bc61c63 (diff)
downloadsnakeyaml-android14-mainline-tethering-release.tar.gz
Change-Id: Icb7c6c2e907ed29eac05a8218b63b248c62a3352
-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.