v1.34.1
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 = "1.34.1")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "271d5f38c218a0c2fe2e94f94dfc0b497e931cbb335348bf1695015191be5367",
strip_prefix = "bazel-lib-1.34.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.34.1/bazel-lib-v1.34.1.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
# Register the following toolchain to use jq
load("@aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
# Register the following toolchain to use yq
load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
What's Changed
- chore: add Aspect Workflows CI (on GCP + CircleCI) by @gregmagolan in #499
- docs: clarify write_source_files output constraint by @seh in #498
- chore: update to Aspect Workflows 5.7.0-rc10 by @gregmagolan in #500
- chore(deps): update dependency bazel to v6.3.2 by @renovate in #492
- chore: update to Aspect Workflows 5.7.0 by @gregmagolan in #501
- docs: add comment regarding linux-arm64 JQ toolchain by @mattem in #503
- chore: add test coverage for run_binary & expand_variables makevars by @gregmagolan in #504
- chore: Switch to buildbuddy for RBE by @alexeagle in #507
- refactor: reduce execution requirements for copy by @alexeagle in #506
- fix: green up red main CI by @alexeagle in #508
- yq: allow any filename in srcs by @pjjw in #496
New Contributors
Full Changelog: v1.34.0...v1.34.1