Skip to content

v2.0.0-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Oct 00:09
· 260 commits to main since this release
472bf9b

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "2.0.0-beta1")

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 = "dd56b26e25c4d4647c24ed67fc93ab8b60b1d8eafd20df2651becfab0bccc342",
    strip_prefix = "bazel-lib-2.0.0-beta1",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.0.0-beta1/bazel-lib-v2.0.0-beta1.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

Full Changelog: v2.0.0-beta0...v2.0.0-beta1