summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ProtoLibraries.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ProtoLibraries.bp b/ProtoLibraries.bp
index c12f5b4395ec..a0944d40a5e3 100644
--- a/ProtoLibraries.bp
+++ b/ProtoLibraries.bp
@@ -100,6 +100,8 @@ java_library_host {
],
type: "full",
},
+ // b/267831518: Pin tradefed and dependencies to Java 11.
+ java_version: "11",
// Protos have lots of MissingOverride and similar.
errorprone: {
enabled: false,