summaryrefslogtreecommitdiff
path: root/ProtoLibraries.bp
diff options
context:
space:
mode:
Diffstat (limited to 'ProtoLibraries.bp')
-rw-r--r--ProtoLibraries.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ProtoLibraries.bp b/ProtoLibraries.bp
index 56d91b2e4bc5..d8f693cdedcd 100644
--- a/ProtoLibraries.bp
+++ b/ProtoLibraries.bp
@@ -97,6 +97,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,