Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rules_java to 8.6.0 #122

Merged
merged 4 commits into from
Dec 3, 2024
Merged

Conversation

ted-xie
Copy link
Contributor

@ted-xie ted-xie commented Dec 3, 2024

With the newer rules_java version, we no longer need the http_jar.bzl hack.

# consider using the protobuf_deps() public API from @com_google_protobuf//:protobuf_deps.bzl
load("@com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility

proto_bazel_features(name = "proto_bazel_features")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are users on the consuming side of these rules going to do this as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WORKSPACE users will have to copy paste this whole part into their WORKSPACE at minimum. If they actually need the whole protobuf setup, they'll need to invoke @com_google_protobuf//:protobuf_deps.bzl.

The WORKSPACE setup for a bunch of repositories (including rules_android) will get more complicated as we creep towards Bazel 8 unfortunately.

@ted-xie
Copy link
Contributor Author

ted-xie commented Dec 3, 2024

btw, could we possibly roll this into a 4.11.1.2 release? Sorry for the churn, I realize that the .1 release just went out yesterday.

@Bencodes Bencodes merged commit 5e13bd8 into robolectric:master Dec 3, 2024
19 checks passed
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