Repository navigation
v2.7.10
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "aspect_bazel_lib", version = "2.7.10")Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "6447de9a278597bd6fca219737849feceb4ad974a9466f873ca5ee15dc89f780",
strip_prefix = "bazel-lib-2.7.10",
url = "https://github.com/ffgan/bazel-lib/releases/download/v2.7.10/bazel-lib-v2.7.10.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
# Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
# Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()Full Changelog: v2.7.2...v2.7.10