Skip to content

Commit 6805dd5

Browse files
committed
meta: use bazel modules
1 parent 6c1689e commit 6805dd5

File tree

3 files changed

+3
-47
lines changed

3 files changed

+3
-47
lines changed

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
common --enable_bzlmod

WORKSPACE

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1 @@
1-
workspace(name = "rules_codeowners")
2-
3-
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
4-
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
5-
6-
http_archive(
7-
name = "bazel_skylib",
8-
sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94",
9-
urls = [
10-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
11-
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
12-
],
13-
)
14-
15-
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
16-
17-
bazel_skylib_workspace()
18-
19-
http_archive(
20-
name = "io_bazel_stardoc",
21-
sha256 = "62bd2e60216b7a6fec3ac79341aa201e0956477e7c8f6ccc286f279ad1d96432",
22-
urls = [
23-
"https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz",
24-
"https://github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz",
25-
],
26-
)
27-
28-
load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
29-
30-
stardoc_repositories()
31-
32-
load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")
33-
34-
rules_jvm_external_deps()
35-
36-
load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")
37-
38-
rules_jvm_external_setup()
39-
40-
load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps")
41-
42-
stardoc_external_deps()
43-
44-
load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install")
45-
46-
stardoc_pinned_maven_install()
1+
workspace(name = "rules_codeowners")

docs/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@io_bazel_stardoc//stardoc:stardoc.bzl", "stardoc")
1+
load("@stardoc//stardoc:stardoc.bzl", "stardoc")
22

33
stardoc(
44
name = "docs",

0 commit comments

Comments
 (0)