Skip to content

Commit

Permalink
Update Java rules to use the toolchain transition.
Browse files Browse the repository at this point in the history
This is phase 2 of of the switch to toolchain transitions. See #11584 for details.

Downstream Bazel tests: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1692

PiperOrigin-RevId: 338302806
  • Loading branch information
katre authored and copybara-github committed Oct 21, 2020
1 parent 2599302 commit ed3bcf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/jdk/java_toolchain_alias.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ java_toolchain_alias = rule(
default = Label("@bazel_tools//tools/jdk:legacy_current_java_toolchain"),
),
},
incompatible_use_toolchain_transition = True,
)

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

0 comments on commit ed3bcf2

Please sign in to comment.