1.5.0
What's Changed
- Bump rules_pkg dep to 0.9.1 to fix build with --incompatible_config_setting_private_default_visibility by @tetromino in #452
- Expose int- and string-valued build settings as Make variables by @fmeum in #440
- Modify actions in order not to need
toolchain
param by @kotlaja in #455 - Fix bazel-skylib with Bazel@HEAD by @meteorcloudy in #462
- versions: Don't fail on Bazel dev builds by @fmeum in #463
- Add error for empty bzl_library by @keith in #457
- Add
doc
param tounittest.make
by @UebelAndre in #464 - Upgrade rules_go by @comius in #460
New Contributors
Full Changelog: 1.4.2...1.5.0
MODULE.bazel setup
bazel_dep(name = "bazel_skylib", version = "1.5.0")
# If the Gazelle plugin is needed:
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_skylib",
sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
],
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
Additional WORKSPACE setup for the Gazelle plugin
http_archive(
name = "bazel_skylib_gazelle_plugin",
sha256 = "747addf3f508186234f6232674dd7786743efb8c68619aece5fb0cac97b8f415",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-gazelle-plugin-1.5.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-gazelle-plugin-1.5.0.tar.gz",
],
)
load("@bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace")
bazel_skylib_gazelle_plugin_workspace()
load("@bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup")
bazel_skylib_gazelle_plugin_setup()