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.1")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 = "9909a643120536751cfbe3e5942e354ca6085c01bca8d23a0815ad3fa7c60b66",
strip_prefix = "rules_scala-7.1.1",
url = "https://github.com/bazelbuild/rules_scala/releases/download/v7.1.1/rules_scala-v7.1.1.tar.gz",
)See https://github.com/bazelbuild/rules_scala#getting-started for full setup instructions.
Full Changelog: v7.1.0...v7.1.1