Skip to content

Commit

Permalink
Opt-in to transitions
Browse files Browse the repository at this point in the history
Necessary to use outbound transitions on Bazel versions prior to v7.1.
  • Loading branch information
plobsing committed Dec 16, 2024
1 parent 34a02fd commit b1fbc25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/jvm_import/platform_transition_jar.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ platform_transition_jar = rule(
cfg = _transition,
),
"platform": attr.label(),
"_allowlist_function_transition": attr.label(
default = "@bazel_tools//tools/allowlists/function_transition_allowlist",
),
},
doc = """
Depend on a JAR for a specified platform.
Expand Down

0 comments on commit b1fbc25

Please sign in to comment.