From 08432c7f6e44271c0656710b382b3e1833e01442 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Sun, 13 Oct 2024 11:14:55 -0700 Subject: [PATCH] chore: bump to stardoc 0.6.2 --- MODULE.bazel | 1 + WORKSPACE | 27 ++++++++++++++++++++++----- internal_deps.bzl | 7 ++----- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 37eba0dc..5b906517 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -35,3 +35,4 @@ bazel_dep(name = "rules_go", version = "0.46.0", dev_dependency = True, repo_nam bazel_dep(name = "gazelle", version = "0.35.0", dev_dependency = True, repo_name = "bazel_gazelle") bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True) bazel_dep(name = "rules_multirun", version = "0.9.0", dev_dependency = True) +bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc") diff --git a/WORKSPACE b/WORKSPACE index 8708aa9d..abfbd520 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -7,11 +7,6 @@ load(":internal_deps.bzl", "rules_oci_internal_deps") rules_oci_internal_deps() -## Stardoc -load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") - -stardoc_repositories() - ## Setup rules_oci load("//oci:dependencies.bzl", "rules_oci_dependencies") @@ -61,3 +56,25 @@ load(":fetch.bzl", "fetch_images", "fetch_test_repos") fetch_images() fetch_test_repos() + +############################################ +# Stardoc +load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") + +stardoc_repositories() + +load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps") + +rules_jvm_external_deps() + +load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup") + +rules_jvm_external_setup() + +load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps") + +stardoc_external_deps() + +load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install") + +stardoc_pinned_maven_install() diff --git a/internal_deps.bzl b/internal_deps.bzl index 97edf3e1..27516f28 100644 --- a/internal_deps.bzl +++ b/internal_deps.bzl @@ -52,11 +52,8 @@ def rules_oci_internal_deps(): http_archive( name = "io_bazel_stardoc", - sha256 = "dfbc364aaec143df5e6c52faf1f1166775a5b4408243f445f44b661cfdc3134f", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.6/stardoc-0.5.6.tar.gz", - "https://github.com/bazelbuild/stardoc/releases/download/0.5.6/stardoc-0.5.6.tar.gz", - ], + sha256 = "62bd2e60216b7a6fec3ac79341aa201e0956477e7c8f6ccc286f279ad1d96432", + urls = ["https://github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz"], ) http_archive(