v2.7.6
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.7.6")
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 = "b59781939f40c8bf148f4a71bd06e3027e15e40e98143ea5688b83531ec8528f",
strip_prefix = "bazel-lib-2.7.6",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.6/bazel-lib-v2.7.6.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.3...v2.7.6
What's Changed
- chore: run buildifier to green up main by @gregmagolan in #841
- chore: bump to Bazel 7.1.2 by @gregmagolan in #842
- ci: green up main by @gregmagolan in #844
- chore: bump buildifier, go and gazelle deps by @gregmagolan in #845
- chore: align ci patterns by @gregmagolan in #843
- chore: tidy in MODULE.bazel file by @gregmagolan in #846
- ci: green up rbe on main by @gregmagolan in #847
- fix: coreutils download path for darwin_amd64 by @mrmeku in #853
- refactor(release): switch release integrity to be dynamic by @alexeagle in #854
- fix: integrity hashes are now sha256 since #854 by @alexeagle in #855
New Contributors
Full Changelog: v2.7.3...v2.7.6