Skip to content

[7.x] Remove load()s of //java:defs.bzl#252

Merged
hvadehra merged 1 commit into
release-7.xfrom
hvd_release-7.x
Dec 11, 2024
Merged

[7.x] Remove load()s of //java:defs.bzl#252
hvadehra merged 1 commit into
release-7.xfrom
hvd_release-7.x

Conversation

@hvadehra

@hvadehra hvadehra commented Dec 11, 2024

Copy link
Copy Markdown
Member

This should make it possible to pin @rules_java to 7.x with Bazel 8 in projects that don't actually require/use @rules_java.

Otherwise, the register_toolchains() call in MODULE.bazel fails with Bazel 8 due to native.java_proto_library and native.java_lite_proto_library in defs.bzl

This should make it possible to use `@rules_java` `7.x` with Bazel 8 in projects that don't actually require use `@rules_java`.
@hvadehra hvadehra marked this pull request as ready for review December 11, 2024 11:28
@hvadehra hvadehra requested review from a team and comius as code owners December 11, 2024 11:28
@hvadehra hvadehra removed the request for review from a team December 11, 2024 11:28
@hvadehra hvadehra merged commit 0199be5 into release-7.x Dec 11, 2024
@hvadehra hvadehra deleted the hvd_release-7.x branch December 11, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants