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.2.4")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 = "d6f08b6f0f9636aff3e85928acb194914b8606ceff447d189d260eafb83483f4",
strip_prefix = "rules_scala-7.2.4",
url = "https://github.com/bazelbuild/rules_scala/releases/download/v7.2.4/rules_scala-v7.2.4.tar.gz",
)See https://github.com/bazelbuild/rules_scala#getting-started for full setup instructions.
What's Changed
Full Changelog: v7.2.3...v7.2.4