@@ -60,9 +60,9 @@ gapic_generator_python()
60
60
61
61
gapic_generator_register_toolchains ()
62
62
63
- _grpc_version = "1.67.1 "
63
+ _grpc_version = "1.71.0 "
64
64
65
- _grpc_sha256 = "f83aedc91b84d4c396d30b0b2a30f7113c651fe5bc180c8ac08a5f0ff7dcffd2 "
65
+ _grpc_sha256 = "9313c3f8f4dd3341597f152d506a50caf571fe40f886e24ea9078891990df285 "
66
66
67
67
http_archive (
68
68
name = "com_github_grpc_grpc" ,
@@ -71,29 +71,38 @@ http_archive(
71
71
urls = ["https://github.com/grpc/grpc/archive/v%s.zip" % _grpc_version ],
72
72
)
73
73
# instantiated in grpc_deps().
74
+
75
+ _protobuf_version = "30.2"
76
+
77
+ _protobuf_sha256 = "07a43d88fe5a38e434c7f94129cad56a4c43a51f99336074d0799c2f7d4e44c5"
78
+
74
79
http_archive (
75
80
name = "com_google_protobuf" ,
76
- sha256 = "008a11cc56f9b96679b4c285fd05f46d317d685be3ab524b2a310be0fbad987e" ,
77
- strip_prefix = "protobuf-29.3" ,
78
- urls = ["https://github.com/protocolbuffers/protobuf/archive/v29.3. tar.gz" ],
81
+ sha256 = _protobuf_sha256 ,
82
+ strip_prefix = "protobuf-%s" % _protobuf_version ,
83
+ urls = ["https://github.com/protocolbuffers/protobuf/archive/v%s. tar.gz" % _protobuf_version ],
79
84
)
80
85
load ("@com_github_grpc_grpc//bazel:grpc_deps.bzl" , "grpc_deps" )
81
86
82
87
grpc_deps ()
83
88
84
- # Pin the version of rules_cc to the version that is present in
85
- # https://github.com/protocolbuffers/protobuf/blob/29.x/protobuf_deps.bzl#L92-L98
86
89
http_archive (
87
90
name = "rules_cc" ,
88
- urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.16 /rules_cc-0.0.16 .tar.gz" ],
89
- sha256 = "bbf1ae2f83305b7053b11e4467d317a7ba3517a12cef608543c1b1c5bf48a4df " ,
90
- strip_prefix = "rules_cc-0.0.16 " ,
91
+ urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.1.1 /rules_cc-0.1.1 .tar.gz" ],
92
+ sha256 = "712d77868b3152dd618c4d64faaddefcc5965f90f5de6e6dd1d5ddcd0be82d42 " ,
93
+ strip_prefix = "rules_cc-0.1.1 " ,
91
94
)
92
95
93
96
load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" , "PROTOBUF_MAVEN_ARTIFACTS" )
94
97
# This is actually already done within grpc_deps but calling this for Bazel convention.
95
98
protobuf_deps ()
96
99
100
+ # Add rules_java to resolve the following error
101
+ # `The repository '@compatibility_proxy' could not be resolved: Repository '@compatibility_proxy' is not defined`
102
+ load ("@rules_java//java:rules_java_deps.bzl" , "rules_java_dependencies" )
103
+
104
+ rules_java_dependencies ()
105
+
97
106
# gRPC enforces a specific version of Go toolchain which conflicts with our build.
98
107
# All the relevant parts of grpc_extra_deps() are imported in this WORKSPACE file
99
108
# explicitly, that is why we do not call grpc_extra_deps() here and call
0 commit comments