Skip to content

Commit

Permalink
readme (bazelbuild#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie5 authored and Andre Rocha committed Jul 6, 2020
1 parent ed8a3e0 commit c03be20
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ to your command line, or to enable by default for building/testing add it to you

## Selecting Scala version

Rules scala supports all minor versions of Scala 2.11/2.12. By default `Scala 2.11.12` is used and to use another
version you need to
Rules scala supports the last two released minor versions for each of Scala 2.11 and 2.12.
Previous minor versions may work but are supported only on a best effort basis.

By default `Scala 2.11.12` is used and to use another version you need to
specify it when calling `scala_repositories`. `scala_repositories` takes a tuple `(scala_version, scala_version_jar_shas)`
as a parameter where `scala_version` is the scala version and `scala_version_jar_shas` is a `dict` with
`sha256` hashes for the maven artifacts `scala_compiler`, `scala_library`, and `scala_reflect`:
Expand Down

0 comments on commit c03be20

Please sign in to comment.