Skip to content

Commit

Permalink
[7.0.0] Lift single file restriction of Starlark java_toolchain.oneve…
Browse files Browse the repository at this point in the history
…rsion. (#19899)

The native java_toolchain did not enforce single fileness, and it's not
necessary for the operation of oneversion.

Closes #19797.

Commit
c8ba155

PiperOrigin-RevId: 574552358
Change-Id: I7fcc56c56af89c169ff6ce0546da1cebc7567c05

Co-authored-by: Benjamin Peterson <[email protected]>
  • Loading branch information
bazel-io and benjaminp authored Oct 19, 2023
1 parent f2085d8 commit 9e8ae1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ _java_toolchain = rule(
"jspecify_stubs": attr.label_list(cfg = "exec", allow_files = True),
"jvm_opts": attr.string_list(default = []),
"misc": attr.string_list(default = []),
"oneversion": attr.label(cfg = "exec", executable = True, allow_single_file = True),
"oneversion": attr.label(cfg = "exec", allow_files = True, executable = True),
"oneversion_whitelist": attr.label(allow_single_file = True),
"oneversion_allowlist_for_tests": attr.label(allow_single_file = True),
"package_configuration": attr.label_list(cfg = "exec", providers = [JavaPackageConfigurationInfo]),
Expand Down

0 comments on commit 9e8ae1a

Please sign in to comment.