Skip to content

Commit dbdac6d

Browse files
committed
Opt-in to transitions
Necessary to use outbound transitions on Bazel versions prior to v7.1.
1 parent 007cd5d commit dbdac6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unit/jvm_import/platform_transition_jar.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ platform_transition_jar = rule(
1919
cfg = _transition,
2020
),
2121
"platform": attr.label(),
22+
"_allowlist_function_transition": attr.label(
23+
default = "@bazel_tools//tools/allowlists/function_transition_allowlist",
24+
),
2225
},
2326
doc = """
2427
Depend on a JAR for a specified platform.

0 commit comments

Comments
 (0)