Skip to content

Commit ef8e318

Browse files
committed
bazel mod tidy
1 parent e1ec5a0 commit ef8e318

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

MODULE.bazel

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,17 @@ go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
3838
go_deps.from_file(go_mod = "//:go.mod")
3939
use_repo(
4040
go_deps,
41+
"com_github_bazelbuild_bazelapis_src_main_protobuf_analysis_v2",
4142
"com_github_google_go_cmp",
42-
"com_github_pmezard_go_difflib",
43-
"org_golang_google_protobuf",
4443
"com_github_hexops_gotextdiff",
44+
"org_golang_google_protobuf",
4545
)
4646

4747
# -------------------------------------------------------------------
4848
# Configuration: Protobuf Deps
4949
# -------------------------------------------------------------------
5050

5151
proto_repository = use_extension("@build_stack_rules_proto//extensions:proto_repository.bzl", "proto_repository", dev_dependency = True)
52-
5352
proto_repository.archive(
5453
name = "protobufapis",
5554
build_directives = [
@@ -65,8 +64,8 @@ proto_repository.archive(
6564
"gazelle:proto_go_modules_index_kind proto_go_library",
6665
"gazelle:proto_language scala enable true",
6766
],
68-
build_file_proto_mode = "file",
6967
build_file_generation = "clean",
68+
build_file_proto_mode = "file",
7069
cfgs = ["@//:rules_proto_config.yaml"],
7170
deleted_files = [
7271
"google/protobuf/*test*.proto",
@@ -97,7 +96,6 @@ proto_repository.archive(
9796
# Size: 11515047 (12 MB)
9897
proto_repository.archive(
9998
name = "googleapis",
100-
build_file_generation = "clean",
10199
build_directives = [
102100
"gazelle:exclude google/ads/googleads/v19/services",
103101
"gazelle:exclude google/ads/googleads/v20/services",
@@ -116,6 +114,7 @@ proto_repository.archive(
116114
"gazelle:proto_language python enable true",
117115
"gazelle:proto_language scala enable true",
118116
],
117+
build_file_generation = "clean",
119118
build_file_proto_mode = "file",
120119
cfgs = ["//:rules_proto_config.yaml"],
121120
imports = ["@protobufapis//:imports.csv"],
@@ -189,12 +188,12 @@ proto_repository.archive(
189188
"gazelle:proto_plugin protoc-gen-go option Msrc/main/protobuf/bazel_output_service.proto=github.com/bazelbuild/bazel/src/main/protobuf/bazel_output_service",
190189
"gazelle:proto_plugin protoc-gen-go option Msrc/main/protobuf/bazel_output_service_rev2.proto=github.com/bazelbuild/bazel/src/main/protobuf/bazel_output_service_rev2",
191190
],
192-
deleted_files = [
193-
"src/main/protobuf/bazel_output_service.proto",
194-
],
195191
build_file_generation = "clean",
196192
build_file_proto_mode = "file",
197193
cfgs = ["//:rules_proto_config.yaml"],
194+
deleted_files = [
195+
"src/main/protobuf/bazel_output_service.proto",
196+
],
198197
imports = [
199198
"@googleapis//:imports.csv",
200199
"@protobufapis//:imports.csv",
@@ -204,7 +203,6 @@ proto_repository.archive(
204203
strip_prefix = "bazel-526225e836561307065f2389c9e2163064fda084",
205204
urls = ["https://github.com/bazelbuild/bazel/archive/526225e836561307065f2389c9e2163064fda084.tar.gz"],
206205
)
207-
208206
use_repo(
209207
proto_repository,
210208
"bazelapis",

0 commit comments

Comments
 (0)