-
Notifications
You must be signed in to change notification settings - Fork 49
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
Support bzlmod #153
Comments
@plaird is this on the roadmap anytime soon? |
@cdickson-sum I hope to get to this within a couple of months. Are you implementing bzlmod right now? |
I think we have been done with this for about a year when I added the MODULE.bazel file. rules_spring doesn't have any real dependencies. The ones in the workspace are for the examples. The exception is system python3, which is used in couple of optional features (dupe classes, javax detection). I am going to ignore that. I will do the following:
|
Hi Peter. Are there any updates? Almost all other rules have adopted bzlmod except |
We have a large monorepo with hundreds of springboot instances, so it is taking time for us to migrate. But we are getting closer to making the switch. What feature of rules_spring is failing for you? The dupe class and javax checkers require python, which is not listed in the module file. |
Does it make sense to add rules_spring (2.3.1 Jan 2024 Support for Spring Boot 3.2.0) to the Bazel Central Registry? Or is there something why it should not be added? |
Since bazel_dep(name = "rules_spring")
git_override(
module_name = "rules_spring",
remote = "https://github.com/salesforce/rules_spring",
commit = "1854fbca3c9d6e704dffaeb6f2f70b0476882acb", # v2.3.1
)
If someone wants to use the dupe class and javax checkers, he/she may need to add the |
Created a PR to add rules_spring 2.3.2 to Bzlmod: bazelbuild/bazel-central-registry#1854 |
Starting with Bazel 5, bzlmod has been provided such that rules can surface their external dependencies. We need to support that.
https://bazel.build/docs/bzlmod
The text was updated successfully, but these errors were encountered: