2022-04-27 04:07:17 +00:00
|
|
|
"aspect-build/bazel-lib"
|
|
|
|
|
|
|
|
module(
|
|
|
|
name = "aspect_bazel_lib",
|
2023-09-06 23:18:53 +00:00
|
|
|
version = "0.0.0",
|
2023-06-09 23:22:37 +00:00
|
|
|
compatibility_level = 1,
|
2022-04-27 04:07:17 +00:00
|
|
|
)
|
|
|
|
|
2023-05-17 15:04:42 +00:00
|
|
|
# Lower-bound versions of our dependencies
|
2023-07-17 18:54:52 +00:00
|
|
|
bazel_dep(name = "bazel_skylib", version = "1.4.2")
|
2022-04-27 04:07:17 +00:00
|
|
|
bazel_dep(name = "platforms", version = "0.0.4")
|
2023-06-09 23:22:37 +00:00
|
|
|
|
2023-05-17 15:04:42 +00:00
|
|
|
# 0.5.4 is the first version with bzlmod support
|
2023-06-09 23:22:37 +00:00
|
|
|
bazel_dep(name = "stardoc", version = "0.5.4", repo_name = "io_bazel_stardoc")
|
2022-04-27 04:07:17 +00:00
|
|
|
|
|
|
|
ext = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "ext")
|
2023-06-09 23:22:37 +00:00
|
|
|
use_repo(ext, "copy_directory_toolchains", "copy_to_directory_toolchains", "coreutils_toolchains", "expand_template_toolchains", "jq_toolchains", "yq_toolchains")
|
2023-05-16 23:14:50 +00:00
|
|
|
|
2022-09-12 23:25:02 +00:00
|
|
|
register_toolchains(
|
2023-01-17 03:37:36 +00:00
|
|
|
"@copy_directory_toolchains//:all",
|
|
|
|
"@copy_to_directory_toolchains//:all",
|
2022-09-12 23:25:02 +00:00
|
|
|
"@jq_toolchains//:all",
|
|
|
|
"@yq_toolchains//:all",
|
2023-05-16 23:14:50 +00:00
|
|
|
"@coreutils_toolchains//:all",
|
2023-06-09 23:22:37 +00:00
|
|
|
"@expand_template_toolchains//:all",
|
2022-09-12 23:25:02 +00:00
|
|
|
)
|
2023-05-17 15:04:42 +00:00
|
|
|
|
|
|
|
# Development-only dependencies
|
|
|
|
|
|
|
|
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
|
2023-07-26 14:32:34 +00:00
|
|
|
bazel_dep(name = "buildifier_prebuilt", version = "6.1.0", dev_dependency = True)
|