Skip to content

Commit

Permalink
Add additional Github urls for the java_tools zips.
Browse files Browse the repository at this point in the history
As of java_tools javac11-v4.0 the releases are also uploaded on Github under [the java_tools repository](https://github.com/bazelbuild/java_tools/releases).

Add the additional Github urls to make downloading the archives more reliable. Users have reported `connection reset` errors from the mirror.bazel urls (for example bazelbuild/rules_scala#798 (comment)).

Closes #9266.

PiperOrigin-RevId: 265884330
  • Loading branch information
iirina authored and copybara-github committed Aug 28, 2019
1 parent b774f65 commit 70eea93
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ http_archive(
sha256 = "b644b1eb3743376ce3aeb0cc6a15374ca5676bf872cc653c3633751c8226e060",
urls = [
"https://mirror.bazel.build/bazel_java_tools/releases/javac11/v5.0/java_tools_javac11_linux-v5.0.zip",
"https://github.com/bazelbuild/java_tools/releases/download/javac11-v5.0/java_tools_javac11_linux-v5.0.zip",
],
)

Expand All @@ -228,6 +229,7 @@ http_archive(
sha256 = "116fef8a385873bfda5fa76e831959aa0ad0b12ca9a880bd0fc7252413ed7c1f",
urls = [
"https://mirror.bazel.build/bazel_java_tools/releases/javac11/v5.0/java_tools_javac11_windows-v5.0.zip",
"https://github.com/bazelbuild/java_tools/releases/download/javac11-v5.0/java_tools_javac11_windows-v5.0.zip",
],
)

Expand All @@ -236,6 +238,7 @@ http_archive(
sha256 = "dfa0e6b6320325eb28023ed754022d985d462b4db468394be305a82f55e7dafa",
urls = [
"https://mirror.bazel.build/bazel_java_tools/releases/javac11/v5.0/java_tools_javac11_darwin-v5.0.zip",
"https://github.com/bazelbuild/java_tools/releases/download/javac11-v5.0/java_tools_javac11_darwin-v5.0.zip",
],
)

Expand Down

0 comments on commit 70eea93

Please sign in to comment.