@@ -21,29 +21,6 @@ load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
2121
2222bazel_skylib_workspace ()
2323
24- # Stardoc
25-
26- http_archive (
27- name = "io_bazel_stardoc" ,
28- sha256 = "fabb280f6c92a3b55eed89a918ca91e39fb733373c81e87a18ae9e33e75023ec" ,
29- urls = [
30- "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.7.1/stardoc-0.7.1.tar.gz" ,
31- "https://github.com/bazelbuild/stardoc/releases/download/0.7.1/stardoc-0.7.1.tar.gz" ,
32- ],
33- )
34-
35- load ("@io_bazel_stardoc//:setup.bzl" , "stardoc_repositories" )
36-
37- stardoc_repositories ()
38-
39- load ("@io_bazel_stardoc//:deps.bzl" , "stardoc_external_deps" )
40-
41- stardoc_external_deps ()
42-
43- load ("@stardoc_maven//:defs.bzl" , stardoc_pinned_maven_install = "pinned_maven_install" )
44-
45- stardoc_pinned_maven_install ()
46-
4724# com_github_bazelbuild_buildtools
4825
4926buildtools_tag = "7.1.2"
@@ -61,6 +38,15 @@ load("@com_github_bazelbuild_buildtools//buildifier:deps.bzl", "buildifier_depen
6138
6239buildifier_dependencies ()
6340
41+ # rules_cc
42+
43+ http_archive (
44+ name = "rules_cc" ,
45+ sha256 = "bbf1ae2f83305b7053b11e4467d317a7ba3517a12cef608543c1b1c5bf48a4df" ,
46+ strip_prefix = "rules_cc-0.0.16" ,
47+ urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.16/rules_cc-0.0.16.tar.gz" ],
48+ )
49+
6450# io_bazel_rules_go
6551
6652rules_go_tag = "v0.43.0"
@@ -82,34 +68,16 @@ go_rules_dependencies()
8268
8369go_register_toolchains (version = "1.17" )
8470
85- # protobuf
86-
87- protobuf_tag = "3.19.6"
88-
89- protobuf_sha256 = "387e2c559bb2c7c1bc3798c4e6cff015381a79b2758696afcbf8e88730b47389"
90-
91- http_archive (
92- name = "com_google_protobuf" ,
93- sha256 = protobuf_sha256 ,
94- strip_prefix = "protobuf-{}" .format (protobuf_tag ),
95- type = "zip" ,
96- url = "https://github.com/protocolbuffers/protobuf/archive/v{}.zip" .format (protobuf_tag ),
97- )
98-
99- load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" )
100-
101- protobuf_deps ()
102-
10371# rules_java
10472http_archive (
10573 name = "rules_java" ,
106- sha256 = "41131de4417de70b9597e6ebd515168ed0ba843a325dc54a81b92d7af9a7b3ea " ,
74+ sha256 = "a9690bc00c538246880d5c83c233e4deb83fe885f54c21bb445eb8116a180b83 " ,
10775 urls = [
108- "https://github.com/bazelbuild/rules_java/releases/download/7.9.0 /rules_java-7.9.0 .tar.gz" ,
76+ "https://github.com/bazelbuild/rules_java/releases/download/7.12.2 /rules_java-7.12.2 .tar.gz" ,
10977 ],
11078)
11179
112- load ("@rules_java//java:repositories.bzl" , "rules_java_dependencies" , "rules_java_toolchains" )
80+ load ("@rules_java//java:repositories.bzl" , "rules_java_dependencies" )
11381
11482rules_java_dependencies ()
11583
@@ -182,6 +150,64 @@ load("@annex_proto//:defs.bzl", annex_proto_pinned_maven_install = "pinned_maven
182150
183151annex_proto_pinned_maven_install ()
184152
153+ # protobuf
154+
155+ protobuf_tag = "28.3"
156+
157+ protobuf_sha256 = "5b2ff0f72e85dc1350b7bb1b4ea94d7e92e297f7a58b630e46fa6b430b5b253b"
158+
159+ http_archive (
160+ name = "com_google_protobuf" ,
161+ sha256 = protobuf_sha256 ,
162+ strip_prefix = "protobuf-{}" .format (protobuf_tag ),
163+ type = "zip" ,
164+ url = "https://github.com/protocolbuffers/protobuf/archive/v{}.zip" .format (protobuf_tag ),
165+ )
166+
167+ load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" )
168+
169+ protobuf_deps ()
170+
171+ # rules_proto
172+
173+ http_archive (
174+ name = "rules_proto" ,
175+ sha256 = "0e5c64a2599a6e26c6a03d6162242d231ecc0de219534c38cb4402171def21e8" ,
176+ strip_prefix = "rules_proto-7.0.2" ,
177+ url = "https://github.com/bazelbuild/rules_proto/releases/download/7.0.2/rules_proto-7.0.2.tar.gz" ,
178+ )
179+
180+ load ("@rules_proto//proto:repositories.bzl" , "rules_proto_dependencies" )
181+
182+ rules_proto_dependencies ()
183+
184+ load ("@rules_proto//proto:setup.bzl" , "rules_proto_setup" )
185+
186+ rules_proto_setup ()
187+
188+ # Stardoc
189+
190+ http_archive (
191+ name = "io_bazel_stardoc" ,
192+ sha256 = "fabb280f6c92a3b55eed89a918ca91e39fb733373c81e87a18ae9e33e75023ec" ,
193+ urls = [
194+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.7.1/stardoc-0.7.1.tar.gz" ,
195+ "https://github.com/bazelbuild/stardoc/releases/download/0.7.1/stardoc-0.7.1.tar.gz" ,
196+ ],
197+ )
198+
199+ load ("@io_bazel_stardoc//:setup.bzl" , "stardoc_repositories" )
200+
201+ stardoc_repositories ()
202+
203+ load ("@io_bazel_stardoc//:deps.bzl" , "stardoc_external_deps" )
204+
205+ stardoc_external_deps ()
206+
207+ load ("@stardoc_maven//:defs.bzl" , stardoc_pinned_maven_install = "pinned_maven_install" )
208+
209+ stardoc_pinned_maven_install ()
210+
185211# rules_pkg
186212
187213rules_pkg_version = "1.0.0"
0 commit comments