Skip to content

Commit

Permalink
Add an entry for "github.com/googleapis/gax-go/v2" to default_gazelle…
Browse files Browse the repository at this point in the history
…_overrides.bzl

When updating to v0.32.0 anyone with a transient dependency on `github.com/googleapis/gax-go/v2` will need to add an override `gazelle:proto disable` directive. See here for discussion: bazel-contrib/rules_go#3625 (comment)

Adding the directive as a default should prevent a bunch of manual effort.
  • Loading branch information
andrewmbenton authored Aug 30, 2023
1 parent e3deb49 commit 5bf0d54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/bzlmod/default_gazelle_overrides.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ DEFAULT_DIRECTIVES_BY_PATH = {
"gazelle:build_file_name BUILD.bazel",
"gazelle:build_file_proto_mode disable_global",
],
"github.com/googleapis/gax-go/v2": [
"gazelle:proto disable",
],
"github.com/googleapis/gnostic": [
"gazelle:proto disable",
],
Expand Down

0 comments on commit 5bf0d54

Please sign in to comment.