Skip to content

Commit 2447d72

Browse files
authored
Merge pull request #68 from lucidsoftware/fix-gen-deps
Fix gen deps
2 parents aaf77df + bb35b91 commit 2447d72

File tree

8 files changed

+7705
-12208
lines changed

8 files changed

+7705
-12208
lines changed

WORKSPACE

Lines changed: 70 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,6 @@ load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
2121

2222
bazel_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

4926
buildtools_tag = "7.1.2"
@@ -61,6 +38,15 @@ load("@com_github_bazelbuild_buildtools//buildifier:deps.bzl", "buildifier_depen
6138

6239
buildifier_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

6652
rules_go_tag = "v0.43.0"
@@ -82,34 +68,16 @@ go_rules_dependencies()
8268

8369
go_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
10472
http_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

11482
rules_java_dependencies()
11583

@@ -182,6 +150,64 @@ load("@annex_proto//:defs.bzl", annex_proto_pinned_maven_install = "pinned_maven
182150

183151
annex_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

187213
rules_pkg_version = "1.0.0"

annex_2_12_install.json

Lines changed: 300 additions & 238 deletions
Large diffs are not rendered by default.

annex_install.json

Lines changed: 4271 additions & 7543 deletions
Large diffs are not rendered by default.

annex_proto_install.json

Lines changed: 203 additions & 280 deletions
Large diffs are not rendered by default.

annex_scalafmt_install.json

Lines changed: 894 additions & 1240 deletions
Large diffs are not rendered by default.

tests/WORKSPACE

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,39 +22,19 @@ load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
2222

2323
bazel_skylib_workspace()
2424

25-
# protobuf
26-
27-
protobuf_tag = "3.19.6"
28-
29-
protobuf_sha256 = "387e2c559bb2c7c1bc3798c4e6cff015381a79b2758696afcbf8e88730b47389"
30-
31-
http_archive(
32-
name = "com_google_protobuf",
33-
sha256 = protobuf_sha256,
34-
strip_prefix = "protobuf-{}".format(protobuf_tag),
35-
type = "zip",
36-
url = "https://github.com/protocolbuffers/protobuf/archive/v{}.zip".format(protobuf_tag),
37-
)
38-
39-
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
40-
41-
protobuf_deps()
42-
4325
# rules_java
4426
http_archive(
4527
name = "rules_java",
46-
sha256 = "8afd053dd2a7b85a4f033584f30a7f1666c5492c56c76e04eec4428bdb2a86cf",
28+
sha256 = "a9690bc00c538246880d5c83c233e4deb83fe885f54c21bb445eb8116a180b83",
4729
urls = [
48-
"https://github.com/bazelbuild/rules_java/releases/download/7.6.5/rules_java-7.6.5.tar.gz",
30+
"https://github.com/bazelbuild/rules_java/releases/download/7.12.2/rules_java-7.12.2.tar.gz",
4931
],
5032
)
5133

52-
load("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
34+
load("@rules_java//java:repositories.bzl", "rules_java_dependencies")
5335

5436
rules_java_dependencies()
5537

56-
rules_java_toolchains()
57-
5838
register_toolchains("//:repository_default_toolchain_21_definition")
5939

6040
local_repository(
@@ -118,6 +98,24 @@ load("@annex_proto//:defs.bzl", annex_proto_pinned_maven_install = "pinned_maven
11898

11999
annex_proto_pinned_maven_install()
120100

101+
# protobuf
102+
103+
protobuf_tag = "28.3"
104+
105+
protobuf_sha256 = "5b2ff0f72e85dc1350b7bb1b4ea94d7e92e297f7a58b630e46fa6b430b5b253b"
106+
107+
http_archive(
108+
name = "com_google_protobuf",
109+
sha256 = protobuf_sha256,
110+
strip_prefix = "protobuf-{}".format(protobuf_tag),
111+
type = "zip",
112+
url = "https://github.com/protocolbuffers/protobuf/archive/v{}.zip".format(protobuf_tag),
113+
)
114+
115+
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
116+
117+
protobuf_deps()
118+
121119
load("@rules_scala_annex//rules:external.bzl", "scala_import_external")
122120
load("@rules_scala_annex//rules:rules_scala.bzl", "emulate_rules_scala")
123121

0 commit comments

Comments
 (0)