v2.5.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.5.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 = "9bb90581f11926192ccc84f9a798d90153ea04b833f6b46e8dbbe5ebf3c51d01",
strip_prefix = "bazel-lib-2.5.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.5.2/bazel-lib-v2.5.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.16 by @gregmagolan in #775
- chore: fix circleci yaml generation for artifact path storage by @gregmagolan in #777
- docs: add use_default_shell_env to docstring of run_binary by @gregmagolan in #778
- docs: add warning about using use_default_shell_env by @gregmagolan in #779
- chore: upgrade to Aspect Workflows 5.9.18 by @gregmagolan in #780
- chore: upgrade to Aspect Workflows 5.9.20 by @gregmagolan in #784
- fix: tar#srcs is optional by @thesayyn in #785
Full Changelog: v2.5.1...v2.5.2