chore: update MODULE.bazel to use register_toolchains

This commit is contained in:
Derek Cormier 2022-09-12 16:25:02 -07:00
parent c86f355dd0
commit 47be61d96b
3 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
5.2.0 5.3.0
# The first line of this file is used by Bazelisk and Bazel to be sure # The first line of this file is used by Bazelisk and Bazel to be sure
# the right version of Bazel is used to build and test this repo. # the right version of Bazel is used to build and test this repo.
# This also defines which version is used on CI. # This also defines which version is used on CI.

View File

@ -3,10 +3,6 @@
module( module(
name = "aspect_bazel_lib", name = "aspect_bazel_lib",
compatibility_level = 1, compatibility_level = 1,
toolchains_to_register = [
"@jq_toolchains//:all",
"@yq_toolchains//:all",
],
version = "0.0.0", version = "0.0.0",
) )
@ -19,3 +15,9 @@ ext = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "ext")
use_repo(ext, "jq_toolchains") use_repo(ext, "jq_toolchains")
use_repo(ext, "yq_toolchains") use_repo(ext, "yq_toolchains")
register_toolchains(
"@jq_toolchains//:all",
"@yq_toolchains//:all",
)

View File

@ -1 +1 @@
5.2.0 5.3.0