diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index e566659..6f20443 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -1,7 +1,6 @@ workspace(name = "rules_antlr") -load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_jar") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_jar") local_repository( name = "examples", @@ -30,10 +29,13 @@ load("//antlr:repositories.bzl", "rules_antlr_dependencies") rules_antlr_dependencies(2, 3, 4) -git_repository( +http_archive( name = "io_bazel_stardoc", - remote = "https://github.com/bazelbuild/stardoc.git", - tag = "0.4.0", + sha256 = "dd7f32f4fe2537ce2452c51f816a5962d48888a5b07de2c195f3b3da86c545d3", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.7.0/stardoc-0.7.0.tar.gz", + "https://github.com/bazelbuild/stardoc/releases/download/0.7.0/stardoc-0.7.0.tar.gz", + ], ) load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")