Using Bzlmod
Paste this snippet into your MODULE.bazel
file:
# Set `repo_name = "io_bazel_rules_scala"` if you still need it.
bazel_dep(name = "rules_scala", version = "7.1.2")
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_scala", # Can be "io_bazel_rules_scala" if you still need it.
sha256 = "5338511555719caa1625c2a7fcb64e367db0cf19dae1505c3f6af480d35605e9",
strip_prefix = "rules_scala-7.1.2",
url = "https://github.com/bazelbuild/rules_scala/releases/download/v7.1.2/rules_scala-v7.1.2.tar.gz",
)
See https://github.com/bazelbuild/rules_scala#getting-started for full setup instructions.
What's Changed
- Update maintainers by @simuons in #1766
- Add BCR presubmit checks to CI, bump versions by @mbland in #1767
- soft_fail CI tasks, upgrade to rules_python-1.6.0 by @mbland in #1768
- Upgrade Scala to 3.7.3 (was 3.7.2) by @WojciechMazur in #1769
- Expand
$(location)
and "Make variables" inenv
by @mbland in #1771 - Bump dependency versions for
rules_scala
v7.1.2 by @mbland in #1772
Full Changelog: v7.1.1...v7.1.2