Skip to content

Commit b80c56a

Browse files
committed
Update Java rules to use the toolchain transition.
This is phase 2 of of the switch to toolchain transitions. See bazelbuild#11584 for details. PiperOrigin-RevId: 316094950 Change-Id: I01002a9c012209434928ac8afb58a52c836e727e
1 parent eee59fc commit b80c56a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/jdk/java_toolchain_alias.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ java_toolchain_alias = rule(
9292
default = Label("@bazel_tools//tools/jdk:legacy_current_java_toolchain"),
9393
),
9494
},
95+
incompatible_use_toolchain_transition = True,
9596
)
9697

9798
# Add aliases for the legacy native rules to allow referring to both versions in @bazel_tools//tools/jdk

0 commit comments

Comments
 (0)