rules_jvm icon indicating copy to clipboard operation
rules_jvm copied to clipboard

Support bzlmod

Open alexeagle opened this issue 2 years ago • 4 comments

  • [x] Create MODULE.bazel file and e2e test in this repo
  • [x] Setup the Publish-to-BCR app and publish a release to the Bazel Central Registry
  • [ ] Provide instructions for bzlmod users
  • [ ] Gazelle extension should work with bzlmod

alexeagle avatar Jan 18 '23 00:01 alexeagle

This seems at least partially done with https://github.com/bazel-contrib/rules_jvm/pull/170

chrismgrayftsinc avatar May 05 '23 18:05 chrismgrayftsinc

Seems that there's not a dedicated "e2e" test module, the whole repo is used in the bcr testing. https://github.com/bazelbuild/bazel-central-registry/blob/main/modules/contrib_rules_jvm/0.13.0/presubmit.yml#L13

The Publish-to-BCR app isn't configured, but a release was done manually.

I don't think instructions were updated nor is the gazelle module accessible so I'll leave this open.

alexeagle avatar May 05 '23 23:05 alexeagle

https://registry.bazel.build/modules/contrib_rules_jvm ? (I have NOT tried it.)

vorburger avatar Jun 21 '24 21:06 vorburger

We ship everything in one unit rather than breaking out the gazelle plugin separately. Adding a bzlmod dep on contrib_rules_jvm should make everything available.

shs96c avatar Jul 16 '24 10:07 shs96c