v2.9.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.9.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 = "0e31778f1fd574d2c05d238bfc4c785fa4b7e50a5ef38b506e01cfd8ec2fccb3",
strip_prefix = "bazel-lib-2.9.2",
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.9.2/bazel-lib-v2.9.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
- fix: update metadata.template.json for LF donation by @alexeagle in #950
- feat: support bzlmod runfiles lookups by @plobsing in #953
- chore(deps): update dependency bazel to v7.3.2 by @renovate in #955
- feat(presets): java bazelrc options by @alexeagle in #947
- fix: unknown repo error with mtree_mutate and Bzlmod by @mering in #948
- fix(bazelrc): move flag to bazel6.bazelrc by @ajwerner in #959
- chore(docs): add tar to API listing by @alexeagle in #960
- chore: update old reference to aspect-build/bazel-lib by @gregmagolan in #962
- perf: report unused inputs for the tar rule by @plobsing in #951
- fix(deps): update module github.com/bmatcuk/doublestar/v4 to v4.7.1 by @renovate in #961
- fix: Use transitioned target platform for
platform_transition_test
by @fmeum in #965 - fix: Make build pass with --incompatible_auto_exec_groups by @dzbarsky in #963
New Contributors
Full Changelog: v2.9.1...v2.9.2