Skip to content

Commit

Permalink
bzlmod: Remove build_file_proto_mode attribute (#3506)
Browse files Browse the repository at this point in the history
By updating gazelle to a version that maintains a central registry of
gazelle overrides, specifying `build_file_proto_mode` on
`github.com/gogo/protobuf` is no longer necessary.

This will allow us to get rid of the rules_go exception after the next
rules_go release.
  • Loading branch information
fmeum authored and linzhp committed Apr 20, 2023
1 parent a95ec10 commit c807c7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ use_repo(go_sdk, "go_toolchains")

register_toolchains("@go_toolchains//:all")

bazel_dep(name = "gazelle", version = "0.27.0")
bazel_dep(name = "gazelle", version = "0.30.0")

go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
go_deps.module(
build_file_proto_mode = "disable",
path = "github.com/gogo/protobuf",
sum = "h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=",
version = "v1.3.2",
Expand Down

0 comments on commit c807c7e

Please sign in to comment.