1
1
workspace (name = "rules_scala_annex" )
2
2
3
3
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
4
- load ("@bazel_tools//tools/build_defs/repo:git.bzl" , "git_repository" )
5
4
6
- http_archive (
7
- name = "io_bazel" ,
8
- sha256 = "2d86797a5b96163b7f5e9cbb8f09cc919066e7ee0fe1a614b79680ae36a14ef3" ,
9
- strip_prefix = "bazel-0.27.0" ,
10
- urls = ["https://github.com/bazelbuild/bazel/archive/0.27.0.zip" ],
11
- )
5
+ skydoc_tag = "0.3.0"
6
+
7
+ skydoc_sha256 = "8762a212cff5f81505a1632630edcfe9adce381479a50a03c968bd2fc217972d"
12
8
13
9
http_archive (
14
10
name = "io_bazel_skydoc" ,
15
- sha256 = "694602137e5d56cfd35622cf58c047549324a0db1522ee944ad86e74420be9db" ,
16
- strip_prefix = "skydoc-b8a32e07ee8297c89ca8020af4fa2163a766706f" ,
17
- urls = [ "https://github.com/bazelbuild/skydoc/archive/b8a32e07ee8297c89ca8020af4fa2163a766706f .zip" ] ,
11
+ sha256 = skydoc_sha256 ,
12
+ strip_prefix = "skydoc-{}" . format ( skydoc_tag ) ,
13
+ url = "https://github.com/bazelbuild/skydoc/archive/{} .zip" . format ( skydoc_tag ) ,
18
14
)
19
15
20
16
# com_github_bazelbuild_buildtools
21
17
18
+ buildtools_tag = "0.29.0"
19
+
20
+ buildtools_sha256 = "05eb52437fb250c7591dd6cbcfd1f9b5b61d85d6b20f04b041e0830dd1ab39b3"
21
+
22
22
http_archive (
23
23
name = "com_github_bazelbuild_buildtools" ,
24
- sha256 = "998ccc97f78c4ee959ad7ebb5effed30a6a8afc7891e6be3c2e0355900846c7d" ,
25
- strip_prefix = "buildtools-19db42aa7a206a52b67bc66477c069ca83d092f4" ,
26
- urls = [ "https://github.com/bazelbuild/buildtools/archive/19db42aa7a206a52b67bc66477c069ca83d092f4 .zip" ] ,
24
+ sha256 = buildtools_sha256 ,
25
+ strip_prefix = "buildtools-{}" . format ( buildtools_tag ) ,
26
+ url = "https://github.com/bazelbuild/buildtools/archive/{} .zip" . format ( buildtools_tag ) ,
27
27
)
28
28
29
29
load ("@com_github_bazelbuild_buildtools//buildifier:deps.bzl" , "buildifier_dependencies" )
@@ -32,12 +32,16 @@ buildifier_dependencies()
32
32
33
33
# io_bazel_rules_go
34
34
35
+ rules_go_tag = "v0.20.2"
36
+
37
+ rules_go_sha256 = "b9aa86ec08a292b97ec4591cf578e020b35f98e12173bbd4a921f84f583aebd9"
38
+
35
39
http_archive (
36
40
name = "io_bazel_rules_go" ,
37
- sha256 = "9fb16af4d4836c8222142e54c9efa0bb5fc562ffc893ce2abeac3e25daead144" ,
41
+ sha256 = rules_go_sha256 ,
38
42
urls = [
39
- "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.19.0 /rules_go-0.19.0. tar.gz" ,
40
- "https://github.com/bazelbuild/rules_go/releases/download/0.19.0 /rules_go-0.19.0. tar.gz" ,
43
+ "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/{tag} /rules_go-{tag}. tar.gz" . format ( tag = rules_go_tag ) ,
44
+ "https://github.com/bazelbuild/rules_go/releases/download/{tag} /rules_go-{tag}. tar.gz" . format ( tag = rules_go_tag ) ,
41
45
],
42
46
)
43
47
@@ -47,17 +51,29 @@ go_rules_dependencies()
47
51
48
52
go_register_toolchains ()
49
53
50
- git_repository (
54
+ bazel_skylib_tag = "1.0.2"
55
+
56
+ bazel_skylib_sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44"
57
+
58
+ http_archive (
51
59
name = "bazel_skylib" ,
52
- remote = "https://github.com/bazelbuild/bazel-skylib.git" ,
53
- tag = "0.8.0" ,
60
+ sha256 = bazel_skylib_sha256 ,
61
+ urls = [
62
+ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/{tag}/bazel-skylib-{tag}.tar.gz" .format (tag = bazel_skylib_tag ),
63
+ "https://github.com/bazelbuild/bazel-skylib/releases/download/{tag}/bazel-skylib-{tag}.tar.gz" .format (tag = bazel_skylib_tag ),
64
+ ],
54
65
)
55
66
67
+ protobuf_tag = "3.10.1"
68
+
69
+ protobuf_sha256 = "678d91d8a939a1ef9cb268e1f20c14cd55e40361dc397bb5881e4e1e532679b1"
70
+
56
71
http_archive (
57
72
name = "com_google_protobuf" ,
58
- sha256 = "8eb5ca331ab8ca0da2baea7fc0607d86c46c80845deca57109a5d637ccb93bb4" ,
59
- strip_prefix = "protobuf-3.9.0" ,
60
- urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.9.0.zip" ],
73
+ sha256 = protobuf_sha256 ,
74
+ strip_prefix = "protobuf-{}" .format (protobuf_tag ),
75
+ type = "zip" ,
76
+ url = "https://github.com/protocolbuffers/protobuf/archive/v{}.zip" .format (protobuf_tag ),
61
77
)
62
78
63
79
load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" )
@@ -93,11 +109,15 @@ http_archive(
93
109
url = "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u212-b03/OpenJDK8U-jdk_x64_mac_hotspot_8u212b03.tar.gz" ,
94
110
)
95
111
112
+ rules_jvm_external_tag = "2.9"
113
+
114
+ rules_jvm_external_sha256 = "e5b97a31a3e8feed91636f42e19b11c49487b85e5de2f387c999ea14d77c7f45"
115
+
96
116
http_archive (
97
117
name = "rules_jvm_external" ,
98
- sha256 = "e5b97a31a3e8feed91636f42e19b11c49487b85e5de2f387c999ea14d77c7f45" ,
99
- strip_prefix = "rules_jvm_external-2.9" ,
100
- url = "https://github.com/bazelbuild/rules_jvm_external/archive/2.9. zip" ,
118
+ sha256 = rules_jvm_external_sha256 ,
119
+ strip_prefix = "rules_jvm_external-{}" . format ( rules_jvm_external_tag ) ,
120
+ url = "https://github.com/bazelbuild/rules_jvm_external/archive/{}. zip" . format ( rules_jvm_external_tag ) ,
101
121
)
102
122
103
123
load ("//rules/scala:workspace.bzl" , "scala_register_toolchains" , "scala_repositories" )
0 commit comments