Skip to content

Commit 69c91a9

Browse files
authored
Improve scala_config() documentation in README.md (#1494)
1 parent 394c0aa commit 69c91a9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,14 @@ http_archive(
5757
url = "https://github.com/bazelbuild/rules_scala/archive/%s.zip" % rules_scala_version,
5858
)
5959

60+
load("@io_bazel_rules_scala//:scala_config.bzl", "scala_config")
6061
# Stores Scala version and other configuration
6162
# 2.12 is a default version, other versions can be use by passing them explicitly:
6263
# scala_config(scala_version = "2.11.12")
63-
load("@io_bazel_rules_scala//:scala_config.bzl", "scala_config")
64+
# Scala 3 requires extras...
65+
# 3.2 should be supported on master. Please note that Scala artifacts for version (3.2.2) are not defined in
66+
# Rules Scala, they need to be provided by your WORKSPACE. You can use external loader like
67+
# https://github.com/bazelbuild/rules_jvm_external
6468
scala_config()
6569

6670
load("@io_bazel_rules_scala//scala:scala.bzl", "rules_scala_setup", "rules_scala_toolchain_deps_repositories")

0 commit comments

Comments
 (0)