v0.18.0
Using Bzlmod with Bazel 7-8
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.18.0")
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.18.0")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Skylib is a dependency, remove if you already have it.
http_archive(
name = "bazel_skylib",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
],
)
http_archive(
name = "rules_ruby",
sha256 = "764dc5cdef447eade4a510a7e18f1671914d271c88c6e261061b5eabd14050b0",
strip_prefix = "rules_ruby-0.18.0",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.18.0/rules_ruby-v0.18.0.tar.gz",
)
What's Changed
- chore(deps): update bazel-contrib/setup-bazel action to v0.14.0 by @renovate in #214
- chore(deps): update dependency bazel to v8.1.1 by @renovate in #215
- chore(deps): update dependency aspect_bazel_lib to v2.14.0 by @renovate in #217
- Allow
rules_ruby
to participate inbazel mod tidy
by @shs96c in #220
New Contributors
Full Changelog: v0.17.3...v0.18.0