Upload desugar_jdk_libs stuff to mirror.bazel.build and use the mirror.
It's important that we mirror files hosted on external servers, because otherwise our build fails if that server is ever unavailable (e.g. https://buildkite.com/bazel/google-bazel-presubmit/builds/13800#359e059c-c427-423e-ab66-58e8efebc3a3).
@@ -91,7 +91,10 @@ http_archive(
# Computed using "shasum -a 256 <zip>"
sha256 = "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d",
strip_prefix = "desugar_jdk_libs-e0b0291b2c51fbe5a7cfa14473a1ae850f94f021",
- url = "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip",
+ urls = [
+ "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip",
+ "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip",
+ ]
)
load("//:distdir.bzl", "distdir_tar")
