aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcpovirk <cpovirk@google.com>2024-01-31 10:00:19 -0800
committerDagger Team <dagger-dev+copybara@google.com>2024-01-31 10:03:18 -0800
commitc8b96052a58b2cd8d87e7ed36a931676bcaded49 (patch)
treed5be90ad32ae52d2416b84fac35ba0eada665531
parent195cd1e2d083418e549eb40ea3e4f06a3c954f4d (diff)
downloaddagger2-c8b96052a58b2cd8d87e7ed36a931676bcaded49.tar.gz
Update bazel-common to pick up Guava 33.0.0 and Truth to 1.3.0.
New commit: https://github.com/google/bazel-common/commit/2a6b6406e12208e02b2060df0631fb30919080f3 This helps with https://github.com/google/truth/issues/746. PiperOrigin-RevId: 603081634
-rw-r--r--WORKSPACE62
1 files changed, 42 insertions, 20 deletions
diff --git a/WORKSPACE b/WORKSPACE
index c2fc870bd..aabca691a 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -26,33 +26,19 @@ local_repository(
)
#############################
-# Load Bazel-Common repository
-#############################
-
-http_archive(
- name = "google_bazel_common",
- sha256 = "60a9aebe25f476646f61c041d1679a9b21076deffbd51526838c7f24d6468ac0",
- strip_prefix = "bazel-common-227a23a508a2fab0fa67ffe2d9332ae536a40edc",
- urls = ["https://github.com/google/bazel-common/archive/227a23a508a2fab0fa67ffe2d9332ae536a40edc.zip"],
-)
-
-load("@google_bazel_common//:workspace_defs.bzl", "google_common_workspace_rules")
-
-google_common_workspace_rules()
-
-#############################
# Load Bazel Skylib rules
#############################
-BAZEL_SKYLIB_VERSION = "1.2.1"
+BAZEL_SKYLIB_VERSION = "1.5.0"
-BAZEL_SKYLIB_SHA = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728"
+BAZEL_SKYLIB_SHA = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94"
http_archive(
name = "bazel_skylib",
sha256 = BAZEL_SKYLIB_SHA,
urls = [
- "https://github.com/bazelbuild/bazel-skylib/releases/download/{version}/bazel-skylib-{version}.tar.gz".format(version = BAZEL_SKYLIB_VERSION),
+ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/%s/bazel-skylib-%s.tar.gz" % (BAZEL_SKYLIB_VERSION, BAZEL_SKYLIB_VERSION),
+ "https://github.com/bazelbuild/bazel-skylib/releases/download/%s/bazel-skylib-%s.tar.gz" % (BAZEL_SKYLIB_VERSION, BAZEL_SKYLIB_VERSION),
],
)
@@ -60,6 +46,42 @@ load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
+####################################################
+# Load Protobuf repository (needed by bazel-common)
+####################################################
+
+http_archive(
+ name = "rules_proto",
+ # output from `sha256sum` on the downloaded tar.gz file
+ sha256 = "66bfdf8782796239d3875d37e7de19b1d94301e8972b3cbd2446b332429b4df1",
+ strip_prefix = "rules_proto-4.0.0",
+ urls = [
+ "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.tar.gz",
+ "https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.tar.gz",
+ ],
+)
+
+load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
+
+rules_proto_dependencies()
+
+rules_proto_toolchains()
+
+#############################
+# Load Bazel-Common repository
+#############################
+
+http_archive(
+ name = "google_bazel_common",
+ sha256 = "82a49fb27c01ad184db948747733159022f9464fc2e62da996fa700594d9ea42",
+ strip_prefix = "bazel-common-2a6b6406e12208e02b2060df0631fb30919080f3",
+ urls = ["https://github.com/google/bazel-common/archive/2a6b6406e12208e02b2060df0631fb30919080f3.zip"],
+)
+
+load("@google_bazel_common//:workspace_defs.bzl", "google_common_workspace_rules")
+
+google_common_workspace_rules()
+
#############################
# Load Protobuf dependencies
#############################
@@ -139,9 +161,9 @@ kt_register_toolchains()
# Load Maven dependencies
#############################
-RULES_JVM_EXTERNAL_TAG = "4.2"
+RULES_JVM_EXTERNAL_TAG = "4.5"
-RULES_JVM_EXTERNAL_SHA = "cd1a77b7b02e8e008439ca76fd34f5b07aecb8c752961f9640dea15e9e5ba1ca"
+RULES_JVM_EXTERNAL_SHA = "b17d7388feb9bfa7f2fa09031b32707df529f26c91ab9e5d909eb1676badd9a6"
http_archive(
name = "rules_jvm_external",