@@ -20,43 +20,64 @@ load("//toolchains:local_java_repository.bzl", "local_java_repository")
2020load ("//toolchains:remote_java_repository.bzl" , "remote_java_repository" )
2121
2222def java_tools_repos ():
23+ """ Declares the remote java_tools repositories """
2324 maybe (
2425 http_archive ,
2526 name = "remote_java_tools" ,
26- sha256 = "af20366f926b1dadf8c084a51936116ef2f0db90e73e94b406c4ad8180f0788d " ,
27+ sha256 = "6efab6ca6e16e02c90e62bbd08ca65f61527984ab78564ea7ad7a2692b2ffdbb " ,
2728 urls = [
28- "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.12 /java_tools-v11.12 .zip" ,
29- "https://github.com/bazelbuild/java_tools/releases/download/java_v11.12 /java_tools-v11.12 .zip" ,
29+ "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.0 /java_tools-v12.0 .zip" ,
30+ "https://github.com/bazelbuild/java_tools/releases/download/java_v12.0 /java_tools-v12.0 .zip" ,
3031 ],
3132 )
3233
3334 maybe (
3435 http_archive ,
3536 name = "remote_java_tools_linux" ,
36- sha256 = "37f79597f5b8c1501b9c66ded8ac68c61205ad39ef3ceda0e24fbd0afa3cd97f " ,
37+ sha256 = "4b8366b780387fc5ce69527ed287f2b444ee429d3325305ad062c92ac43c7fb6 " ,
3738 urls = [
38- "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.12 /java_tools_linux-v11.12 .zip" ,
39- "https://github.com/bazelbuild/java_tools/releases/download/java_v11.12 /java_tools_linux-v11.12 .zip" ,
39+ "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.0 /java_tools_linux-v12.0 .zip" ,
40+ "https://github.com/bazelbuild/java_tools/releases/download/java_v12.0 /java_tools_linux-v12.0 .zip" ,
4041 ],
4142 )
4243
4344 maybe (
4445 http_archive ,
4546 name = "remote_java_tools_windows" ,
46- sha256 = "43432ce4814513d6497661b4fede691982b3bdef7a1907808b096291f56a8001 " ,
47+ sha256 = "7b938f0c67d9d390f10489b1b9a4dabb51e39ecc94532c3acdf8c4c16900457f " ,
4748 urls = [
48- "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.12 /java_tools_windows-v11.12 .zip" ,
49- "https://github.com/bazelbuild/java_tools/releases/download/java_v11.12 /java_tools_windows-v11.12 .zip" ,
49+ "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.0 /java_tools_windows-v12.0 .zip" ,
50+ "https://github.com/bazelbuild/java_tools/releases/download/java_v12.0 /java_tools_windows-v12.0 .zip" ,
5051 ],
5152 )
5253
5354 maybe (
5455 http_archive ,
5556 name = "remote_java_tools_darwin" ,
56- sha256 = "aed319892b638efabd08405b8f835770e13e2465d20459876c5f457f2b6426f3 " ,
57+ sha256 = "abc434be713ee9e1fd6525d7a7bd9d7cdff6e27ae3ca9d96420490e7ff6e28a3 " ,
5758 urls = [
58- "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.12/java_tools_darwin-v11.12.zip" ,
59- "https://github.com/bazelbuild/java_tools/releases/download/java_v11.12/java_tools_darwin-v11.12.zip" ,
59+ "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.0/java_tools_darwin_x86_64-v12.0.zip" ,
60+ "https://github.com/bazelbuild/java_tools/releases/download/java_v12.0/java_tools_darwin_x86_64-v12.0.zip" ,
61+ ],
62+ )
63+
64+ maybe (
65+ http_archive ,
66+ name = "remote_java_tools_darwin_x86_64" ,
67+ sha256 = "abc434be713ee9e1fd6525d7a7bd9d7cdff6e27ae3ca9d96420490e7ff6e28a3" ,
68+ urls = [
69+ "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.0/java_tools_darwin_x86_64-v12.0.zip" ,
70+ "https://github.com/bazelbuild/java_tools/releases/download/java_v12.0/java_tools_darwin_x86_64-v12.0.zip" ,
71+ ],
72+ )
73+
74+ maybe (
75+ http_archive ,
76+ name = "remote_java_tools_darwin_arm64" ,
77+ sha256 = "24a47a5557ee2ccdacd10a54fe4c15d627c6aeaf7596a5dccf2e11a866a5a32a" ,
78+ urls = [
79+ "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.0/java_tools_darwin_arm64-v12.0.zip" ,
80+ "https://github.com/bazelbuild/java_tools/releases/download/java_v12.0/java_tools_darwin_arm64-v12.0.zip" ,
6081 ],
6182 )
6283
0 commit comments