Skip to content

Commit

Permalink
Use com_google_protobuf as repo name for protobuf (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy authored Nov 20, 2024
1 parent c56e6c0 commit 3dfa382
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion java/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@protobuf//bazel:java_proto_library.bzl", "java_proto_library")
load("@com_google_protobuf//bazel:java_proto_library.bzl", "java_proto_library")

package(default_visibility = ["//visibility:public"])

Expand Down
2 changes: 1 addition & 1 deletion java/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module(

bazel_dep(name = "bazel_worker_api", version = "0.0.1")
bazel_dep(name = "rules_jvm_external", version = "6.2")
bazel_dep(name = "protobuf", version = "27.2")
bazel_dep(name = "protobuf", version = "27.2", repo_name = "com_google_protobuf")
bazel_dep(name = "rules_java", version = "7.12.2")

maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
Expand Down
2 changes: 1 addition & 1 deletion proto/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@protobuf//bazel:proto_library.bzl", "proto_library")
load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")

package(default_visibility = ["//visibility:public"])

Expand Down
2 changes: 1 addition & 1 deletion proto/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ module(
version = "0",
)

bazel_dep(name = "protobuf", version = "27.2")
bazel_dep(name = "protobuf", version = "27.2", repo_name = "com_google_protobuf")

0 comments on commit 3dfa382

Please sign in to comment.