Skip to content

Commit 72adeb5

Browse files
authored
Fix scala toolchains link in README (#1327)
* Fix scala toolchains link in README
1 parent 5ab2eda commit 72adeb5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ scalatest_toolchain()
7878
```
7979

8080
This will load the `rules_scala` repository at the commit sha
81-
`rules_scala_version` into your Bazel project and register a [Scala
82-
toolchain](#scala_toolchain) at the default Scala version (2.12.14)
81+
`rules_scala_version` into your Bazel project and register a [scala_toolchain](docs/scala_toolchain.md) at the default Scala version (2.12.14)
8382

8483
Then in your BUILD file just add the following so the rules will be available:
8584
```python
@@ -132,7 +131,7 @@ Rules scala supports the last two released minor versions for each of Scala 2.11
132131
Previous minor versions may work but are supported only on a best effort basis.
133132

134133
To configure Scala version you must call `scala_config(scala_version = "2.xx.xx")` and configure
135-
dependencies by declaring [scala_toolchain](https://github.com/bazelbuild/rules_scala/blob/master/docs/scala_toolchain.md).
134+
dependencies by declaring [scala_toolchain](docs/scala_toolchain.md).
136135
For a quick start you can use `scala_repositories()` and `scala_register_toolchains()`, which have
137136
dependency providers configured for `2.11.12`, `2.12.14` and `2.13.6` versions.
138137

0 commit comments

Comments
 (0)