wip: support bzlmod#377
Conversation
| #bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf") | ||
| bazel_dep(name = "grpc", version = "1.56.3", repo_name = "com_github_grpc_grpc") | ||
|
|
||
| go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") |
There was a problem hiding this comment.
go_sdk needs to be marked as a dev dependency.
|
Tried this branch with the fix of @jvolkman and it works perfectly for our needs (python, go and java protobuf + grpc) |
|
any plans to move this forward? I'm also interested to see this merged at some point |
|
@pcj Any plan to move forward with this ? |
|
Yes, need to fix up a few things and get this merged. Thanks for the ping. |
Notably Scala and closure are in the BCR now, haven't checked the others in the workspace.bzlmod file |
|
I also tried this as a patch in bb-portal for the frontend portion (along with the go_sdk dev_dependency fix and adding the override for protobuf_javascript) but getting the following error : Here's the build file I am adding here: |
|
Closing in favor of #389 |
TODO
//cmd/gencopy:gencopy_testand//cmd/gazelle:gazelle_testMODULE.bazelWORKSPACE.bzlmodis empty)Fixes #319