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

Add the repo rule http_jar #238

Closed
wants to merge 4 commits into from
Closed

Add the repo rule http_jar #238

wants to merge 4 commits into from

Conversation

Wyverald
Copy link
Member

The repo rule http_jar currently lives in @bazel_tools, which results in an implicit dependency on rules_java because it creates a repo with a BUILD file that uses java_import. So this repo rule really belongs in rules_java.

This PR copies it over from @bazel_tools//tools/build_defs/repo:http.bzl with minimal edits.

@Wyverald
Copy link
Member Author

Marked as draft right now as I can't figure out how to add tests for this.

@fmeum
Copy link
Contributor

fmeum commented Oct 31, 2024

This would unblock #239, which currently fails because using http_jar from bazel_tools in rules_java results in an empty java_import rule being used.

@Wyverald
Copy link
Member Author

Wyverald commented Nov 1, 2024

OK, this should be good to go. The remaining failures are already happening on master too.

@Wyverald Wyverald marked this pull request as ready for review November 1, 2024 20:20
@Wyverald Wyverald requested review from comius and a team as code owners November 1, 2024 20:20
@copybara-service copybara-service bot closed this in 309f6d2 Nov 5, 2024
@Wyverald Wyverald deleted the wyv-http-jar branch November 15, 2024 19:24
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