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 bazelbuild#11584 for details.

PiperOrigin-RevId: 316094950
Change-Id: I01002a9c012209434928ac8afb58a52c836e727e
  • Loading branch information
katre committed Sep 15, 2020
1 parent dd08b8b commit 83a6f82
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 83a6f82

Please sign in to comment.