chore: depend on skylib release artifact
This commit is contained in:
parent
8833c8ebf8
commit
dda3bbda86
|
@ -13,7 +13,7 @@ load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
|
|||
gazelle_binary(
|
||||
name = "gazelle_bin",
|
||||
languages = DEFAULT_LANGUAGES + [
|
||||
"@bazel_skylib//gazelle/bzl",
|
||||
"@bazel_skylib_gazelle_plugin//bzl",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -6,7 +6,8 @@ module(
|
|||
version = "0.0.0",
|
||||
)
|
||||
|
||||
bazel_dep(name = "bazel_skylib", version = "1.3.0")
|
||||
bazel_dep(name = "bazel_skylib", version = "1.4.1")
|
||||
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
|
||||
bazel_dep(name = "platforms", version = "0.0.4")
|
||||
bazel_dep(name = "stardoc", repo_name = "io_bazel_stardoc", version = "0.5.0")
|
||||
|
||||
|
|
|
@ -28,14 +28,20 @@ def bazel_lib_internal_deps():
|
|||
],
|
||||
)
|
||||
|
||||
# Override bazel_skylib distribution to fetch sources instead
|
||||
# so that the gazelle extension is included
|
||||
# see https://github.com/bazelbuild/bazel-skylib/issues/250
|
||||
http_archive(
|
||||
name = "bazel_skylib",
|
||||
sha256 = "3b620033ca48fcd6f5ef2ac85e0f6ec5639605fa2f627968490e52fc91a9932f",
|
||||
strip_prefix = "bazel-skylib-1.3.0",
|
||||
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/refs/tags/1.3.0.tar.gz"],
|
||||
sha256 = "b8a1527901774180afc798aeb28c4634bdccf19c4d98e7bdd1ce79d1fe9aaad7",
|
||||
urls = [
|
||||
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "bazel_skylib_gazelle_plugin",
|
||||
sha256 = "0a466b61f331585f06ecdbbf2480b9edf70e067a53f261e0596acd573a7d2dc3",
|
||||
urls = [
|
||||
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-gazelle-plugin-1.4.1.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
http_archive(
|
||||
|
|
Loading…
Reference in New Issue