diff --git a/WORKSPACE b/WORKSPACE index ffe08b6e446..1a6968ba458 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -22,6 +22,17 @@ http_archive( url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % HTTP_DEPENDENCY_VERSIONS["rules_jvm"]["version"], ) +# Add support for Bazel Skylib: https://github.com/bazelbuild/bazel-skylib +http_archive( + name = "bazel_skylib", + sha256 = HTTP_DEPENDENCY_VERSIONS["bazel_skylib"]["sha"], + url = "https://github.com/bazelbuild/bazel-skylib/releases/download/{0}/bazel-skylib-{0}.tar.gz".format(HTTP_DEPENDENCY_VERSIONS["bazel_skylib"]["version"]), +) + +load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") + +bazel_skylib_workspace() + # Add support for Kotlin: https://github.com/bazelbuild/rules_kotlin. http_archive( name = "io_bazel_rules_kotlin", diff --git a/third_party/versions.bzl b/third_party/versions.bzl index f35c4b8be6c..22571067194 100644 --- a/third_party/versions.bzl +++ b/third_party/versions.bzl @@ -106,12 +106,16 @@ MAVEN_TEST_DEPENDENCY_VERSIONS = { # Note to developers: Please keep this dict sorted by key to make it easier to find dependencies. HTTP_DEPENDENCY_VERSIONS = { + "bazel_skylib": { + "sha": "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44", + "version": "1.0.2", + }, "dagger": { "sha": "9e69ab2f9a47e0f74e71fe49098bea908c528aa02fa0c5995334447b310d0cdd", "version": "2.28.1", }, "protobuf_tools": { - "version": "3.11.0", + "version": "3.12.0", }, "rules_java": { "sha": "220b87d8cfabd22d1c6d8e3cdb4249abd4c93dcc152e0667db061fb1b957ee68",