@@ -3,7 +3,7 @@ workspace(
33 # This tells Bazel that the node_modules directory is special and
44 # is managed by the package manager.
55 # https://bazelbuild.github.io/rules_nodejs/install.html
6- managed_directories = {"@npm" : ["@gapic_generator_typescript//:node_modules" ]},
6+ managed_directories = {"@npm" : ["@gapic_generator_typescript//:node_modules" ]}
77)
88
99load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
@@ -41,15 +41,15 @@ http_archive(
4141# version of the library will be selected as a transitive dependency of gRPC.
4242http_archive (
4343 name = "rules_python" ,
44- strip_prefix = "rules_python-748aa53d7701e71101dfd15d800e100f6ff8e5d1" ,
4544 url = "https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip" ,
45+ strip_prefix = "rules_python-748aa53d7701e71101dfd15d800e100f6ff8e5d1"
4646)
4747
4848http_archive (
4949 name = "com_google_protobuf" ,
5050 sha256 = "1c744a6a1f2c901e68c5521bc275e22bdc66256eeb605c2781923365b7087e5f" ,
51- strip_prefix = "protobuf-3.13.0" ,
5251 urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.13.0.zip" ],
52+ strip_prefix = "protobuf-3.13.0" ,
5353)
5454
5555load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" )
@@ -85,11 +85,11 @@ http_archive(
8585# TODO(ndietz): move this back to the Go section if gRPC is updated per https://github.com/grpc/grpc/issues/22172
8686http_archive (
8787 name = "io_bazel_rules_go" ,
88- sha256 = "4707e6ba7c01fcfc4f0d340d123bc16e43c2b8ea3f307663d95712b36d2a0e88" ,
89- strip_prefix = "rules_go-0.23.0" ,
9088 urls = [
9189 "https://github.com/bazelbuild/rules_go/archive/v0.23.0.zip" ,
9290 ],
91+ strip_prefix = "rules_go-0.23.0" ,
92+ sha256 = "4707e6ba7c01fcfc4f0d340d123bc16e43c2b8ea3f307663d95712b36d2a0e88" ,
9393)
9494
9595load ("@io_bazel_rules_go//go:deps.bzl" , "go_register_toolchains" , "go_rules_dependencies" )
@@ -141,26 +141,8 @@ apple_support_dependencies()
141141##############################################################################
142142# Java
143143##############################################################################
144- # Java microgenerator.
145- http_archive (
146- name = "gapic_generator_java" ,
147- strip_prefix = "gapic-generator-java-7cde9ec5b71106df33ed30a55efa461b3e40443e" ,
148- urls = ["https://github.com/googleapis/gapic-generator-java/archive/7cde9ec5b71106df33ed30a55efa461b3e40443e.zip" ],
149- )
150-
151- load ("@gapic_generator_java//:repository_rules.bzl" , "gapic_generator_java_properties" )
152-
153- gapic_generator_java_properties (
154- name = "gapic_generator_java_properties" ,
155- file = "@gapic_generator_java//:dependencies.properties" ,
156- )
157-
158- load ("@gapic_generator_java//:repositories.bzl" , "gapic_generator_java_repositories" )
159-
160- gapic_generator_java_repositories ()
161-
162- _gax_java_version = "1.58.3"
163144
145+ _gax_java_version = "1.58.2"
164146http_archive (
165147 name = "com_google_api_gax_java" ,
166148 strip_prefix = "gax-java-%s" % _gax_java_version ,
@@ -234,11 +216,9 @@ protoc_docs_plugin_repositories()
234216protoc_docs_plugin_register_toolchains ()
235217
236218load ("@rules_python//python:repositories.bzl" , "py_repositories" )
237-
238219py_repositories ()
239220
240221load ("@rules_python//python:pip.bzl" , "pip_repositories" )
241-
242222pip_repositories ()
243223
244224# Change upstream repository once PR is merged
@@ -248,10 +228,9 @@ http_archive(
248228 strip_prefix = "gapic-generator-python-0.33.6" ,
249229)
250230
251- load (
252- "@gapic_generator_python//:repositories.bzl" ,
231+ load ("@gapic_generator_python//:repositories.bzl" ,
253232 "gapic_generator_python" ,
254- "gapic_generator_register_toolchains" ,
233+ "gapic_generator_register_toolchains"
255234)
256235
257236gapic_generator_python ()
@@ -269,11 +248,11 @@ pip_install()
269248# bazel-gazelle (support Golang under bazel)
270249http_archive (
271250 name = "bazel_gazelle" ,
272- sha256 = "bfd86b3cbe855d6c16c6fce60d76bd51f5c8dbc9cfcaef7a2bb5c1aafd0710e8" ,
273251 urls = [
274252 "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/bazel-gazelle/releases/download/v0.21.0/bazel-gazelle-v0.21.0.tar.gz" ,
275253 "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.21.0/bazel-gazelle-v0.21.0.tar.gz" ,
276254 ],
255+ sha256 = "bfd86b3cbe855d6c16c6fce60d76bd51f5c8dbc9cfcaef7a2bb5c1aafd0710e8" ,
277256)
278257
279258load ("@bazel_gazelle//:deps.bzl" , "gazelle_dependencies" )
@@ -301,20 +280,17 @@ go_gapic_repositories()
301280### TypeScript generator
302281http_archive (
303282 name = "gapic_generator_typescript" ,
304- strip_prefix = "gapic-generator-typescript-1.1.0" ,
305283 urls = ["https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz" ],
284+ strip_prefix = "gapic-generator-typescript-1.1.0" ,
306285)
307286
308287load ("@gapic_generator_typescript//:repositories.bzl" , "gapic_generator_typescript_repositories" )
309-
310288gapic_generator_typescript_repositories ()
311289
312290load ("@build_bazel_rules_nodejs//:index.bzl" , "node_repositories" , "yarn_install" )
313-
314291node_repositories (
315- package_json = ["@gapic_generator_typescript//:package.json" ],
292+ package_json = ["@gapic_generator_typescript//:package.json" ]
316293)
317-
318294yarn_install (
319295 name = "npm" ,
320296 package_json = "@gapic_generator_typescript//:package.json" ,
@@ -343,15 +319,15 @@ php_gapic_repositories()
343319# Required to access the C#-specific common resources config.
344320http_archive (
345321 name = "gax_dotnet" ,
346- build_file_content = "exports_files([\" Google.Api.Gax/ResourceNames/CommonResourcesConfig.json\" ])" ,
347- strip_prefix = "gax-dotnet-b4bf8c3e67a89e558f06af60f777bd12abe84392" ,
348322 urls = ["https://github.com/googleapis/gax-dotnet/archive/b4bf8c3e67a89e558f06af60f777bd12abe84392.zip" ],
323+ strip_prefix = "gax-dotnet-b4bf8c3e67a89e558f06af60f777bd12abe84392" ,
324+ build_file_content = "exports_files([\" Google.Api.Gax/ResourceNames/CommonResourcesConfig.json\" ])" ,
349325)
350326
351327http_archive (
352328 name = "gapic_generator_csharp" ,
353- strip_prefix = "gapic-generator-csharp-1.3.1" ,
354329 urls = ["https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip" ],
330+ strip_prefix = "gapic-generator-csharp-1.3.1" ,
355331)
356332
357333load ("@gapic_generator_csharp//:repositories.bzl" , "gapic_generator_csharp_repositories" )
@@ -364,9 +340,9 @@ gapic_generator_csharp_repositories()
364340
365341http_archive (
366342 name = "gapic_generator_ruby" ,
367- strip_prefix = "gapic-generator-ruby-9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2" ,
368343 #sha256 = "432f708c7107a8dffcf293af03df2114e5072abb57beb04423561603ee91b432",
369344 urls = ["https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip" ],
345+ strip_prefix = "gapic-generator-ruby-9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2" ,
370346)
371347
372348load ("@gapic_generator_ruby//rules_ruby_gapic:repositories.bzl" , "gapic_generator_ruby_repositories" )
0 commit comments