diff options
author | Zhongpeng Lin <zplin@uber.com> | 2023-12-07 07:54:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 10:54:09 -0500 |
commit | 7e33c12ee96192f12b7fbb089e6fe1af6a29ef14 (patch) | |
tree | e72deca781a53f8fb0d901efcc631d9134b2fed3 /WORKSPACE | |
parent | 6c32c3b917cc5d3cfee680c03179d7552832bb3f (diff) | |
download | bazelbuild-remote-apis-7e33c12ee96192f12b7fbb089e6fe1af6a29ef14.tar.gz |
Upgrade rules_go, Gazelle, googleapis, com_google_protobuf (#269)
Diffstat (limited to 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 37 |
1 files changed, 21 insertions, 16 deletions
@@ -4,10 +4,10 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", - sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44", + sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz", - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz", ], ) @@ -18,29 +18,29 @@ bazel_skylib_workspace() # Pull in go rules, which we need in order to selectively pull in Go dependencies. http_archive( name = "io_bazel_rules_go", - sha256 = "69de5c704a05ff37862f7e0f5534d4f479418afc21806c887db544a316f3cb6b", + sha256 = "d6ab6b57e48c09523e93050f13698f708428cfd5e619252e369d377af6597707", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz", - "https://github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.43.0/rules_go-v0.43.0.zip", + "https://github.com/bazelbuild/rules_go/releases/download/v0.43.0/rules_go-v0.43.0.zip", ], ) # Gazelle, which we need in order to selectively pull in Gazelle dependencies for Go. http_archive( name = "bazel_gazelle", - sha256 = "62ca106be173579c0a167deb23358fdfe71ffa1e4cfdddf5582af26520f1c66f", + sha256 = "b7387f72efb59f876e4daae42f1d3912d0d45563eac7cb23d1de0b094ab588cf", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz", - "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz", ], ) # Needed for protobuf. http_archive( name = "com_google_protobuf", - sha256 = "678d91d8a939a1ef9cb268e1f20c14cd55e40361dc397bb5881e4e1e532679b1", - strip_prefix = "protobuf-3.10.1", - urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.10.1.zip"], + sha256 = "535fbf566d372ccf3a097c374b26896fa044bf4232aef9cab37bd1cc1ba4e850", + strip_prefix = "protobuf-3.15.0", + urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.15.0.zip"], ) load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") @@ -94,8 +94,13 @@ remote_apis_go_deps() # Needed for the googleapis protos. http_archive( name = "googleapis", - build_file = "BUILD.googleapis", - sha256 = "7b6ea252f0b8fb5cd722f45feb83e115b689909bbb6a393a873b6cbad4ceae1d", - strip_prefix = "googleapis-143084a2624b6591ee1f9d23e7f5241856642f4d", - urls = ["https://github.com/googleapis/googleapis/archive/143084a2624b6591ee1f9d23e7f5241856642f4d.zip"], + sha256 = "b28c13e99001664eac5f1fb81b44d912d19fbc041e30772263251da131f6573c", + strip_prefix = "googleapis-bb964feba5980ed70c9fb8f84fe6e86694df65b0", + urls = ["https://github.com/googleapis/googleapis/archive/bb964feba5980ed70c9fb8f84fe6e86694df65b0.zip"], +) + +load("@googleapis//:repository_rules.bzl", "switched_rules_by_language") + +switched_rules_by_language( + name = "com_google_googleapis_imports", ) |