mirror of https://github.com/grpc/grpc-java.git
Include com_google_protobuf_javalite to MODULE.bazel to fix bzlmod querying graph in end-user repo (#11147)
* Fix 3d party dependency use_repo * remove protobuf as it is already added as module dep * fix * fix * fix * return com_google_protobuf_javalite archive and use it in MODULE.bazel
This commit is contained in:
parent
8844cf7b87
commit
f995c121e9
|
|
@ -60,6 +60,7 @@ use_repo(
|
|||
non_module_deps,
|
||||
"com_github_cncf_xds",
|
||||
"envoy_api",
|
||||
"com_google_protobuf_javalite",
|
||||
"io_grpc_grpc_proto",
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ def grpc_java_repositories(bzlmod = False):
|
|||
)
|
||||
if not bzlmod and not native.existing_rule("com_google_protobuf"):
|
||||
com_google_protobuf()
|
||||
if not bzlmod and not native.existing_rule("com_google_protobuf_javalite"):
|
||||
if not native.existing_rule("com_google_protobuf_javalite"):
|
||||
com_google_protobuf_javalite()
|
||||
if not bzlmod and not native.existing_rule("com_google_googleapis"):
|
||||
http_archive(
|
||||
|
|
|
|||
Loading…
Reference in New Issue