v2.4.2
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.4.2")
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 = "f75d03783588e054899eb0729a97fb5b8973c1a26f30373fafd485c90bf207d1",
strip_prefix = "bazel-lib-2.4.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.2/bazel-lib-v2.4.2.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()
What's Changed
- chore: upgrade to Aspect Workflows 5.9.4 by @gregmagolan in #750
- Update tar.bzl by @alexeagle in #751
- chore: upgrade to Aspect Workflows 5.9.5 by @gregmagolan in #752
- chore: update always_delivery to auto_delivery by @gregmagolan in #753
- presets: remove eternal test_timeout_filtering by @alexeagle in #758
- chore: upgrade to Aspect Worklfows 5.9.9 by @gregmagolan in #761
- chore: make it possible to override run_binary#use_default_shell_env by @alexeagle in #762
Full Changelog: v2.4.0...v2.4.2