You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "We regularly publish 'nightlies' of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases. Here's how to find and use these versions."
165
+
description: "We regularly publish 'nightlies' of both Scala 3 and Scala 2 so that users can preview and test the contents of upcoming releases. Here's how to find and use these versions."
Copy file name to clipboardExpand all lines: _overviews/core/nightlies.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ title: Nightly Versions of Scala
4
4
permalink: /overviews/core/:title.html
5
5
---
6
6
7
-
We regularly publish nightly builds of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases.
7
+
We regularly publish nightly versions of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases.
8
8
9
-
We informally call them "nightly" builds, but technically it's a misnomer. A so-called “nightly” is built for every merged PR.
9
+
We informally call them "nightly" versions, but technically it's a misnomer. A so-called “nightly” is built for every merged PR.
10
10
11
11
Here's how to find and use these versions.
12
12
13
13
## Scala 3
14
14
15
-
Scala 3 nightly builds are published to Maven Central. If you know the full version number of the nightly you want to use, you can use it just like any other Scala 3 version.
15
+
Scala 3 nightly versions are published to Maven Central. If you know the full version number of the nightly you want to use, you can use it just like any other Scala 3 version.
16
16
17
17
One quick way to get that version number is to visit https://dotty.epfl.ch and look in the upper left corner.
18
18
@@ -35,7 +35,7 @@ See this [scala-cli doc page](https://scala-cli.virtuslab.org/docs/commands/comp
35
35
36
36
## Scala 2.13 or 2.12
37
37
38
-
Scala 3 nightly builds are published to a special resolver. You'll need to add that resolver to your build configuration in order to use these versions.
38
+
Scala 3 nightly versions are published to a special resolver. Unless you are using scala-cli, you'll need to add that resolver to your build configuration in order to use these versions.
39
39
40
40
### quick version (sbt)
41
41
@@ -65,7 +65,7 @@ The default command is `repl`, but all the other scala-cli subcommands such as `
65
65
66
66
We no longer publish `-SNAPSHOT` versions of Scala 2.
67
67
68
-
But the team does publish nightly builds, each with its own fixed version number. The version number of a nightly looks like e.g. `2.13.1-bin-abcd123`. (`-bin-` signals binary compatibility to sbt; all 2.13.x releases since 2.13.0 are binary compatible with each other.)
68
+
But the team does publish nightly versions, each with its own fixed version number. The version number of a nightly looks like e.g. `2.13.1-bin-abcd123`. (`-bin-` signals binary compatibility to sbt; all 2.13.x releases since 2.13.0 are binary compatible with each other.)
69
69
70
70
To tell sbt to use one of these nightlies, you need to do three things.
71
71
@@ -78,7 +78,7 @@ Second, specify the Scala version:
78
78
79
79
scalaVersion := "2.13.1-bin-abcd123"
80
80
81
-
But that isn't a real version number. Manually substitute a version number containing the 7-character SHA of the last commit in the [scala/scala repository](https://github.com/scala/scala) for which a nightly build was published. Look at https://travis-ci.org/scala/scala/branches and you'll see the SHA in the upper right corner of the 2.13.x (or 2.12.x) section.
81
+
But that isn't a real version number. Manually substitute a version number containing the 7-character SHA of the last commit in the [scala/scala repository](https://github.com/scala/scala) for which a nightly version was published. Look at https://travis-ci.org/scala/scala/branches and you'll see the SHA in the upper right corner of the 2.13.x (or 2.12.x) section.
82
82
83
83
As soon as 2.13.1 is released, the version number in the nightly will bump to 2.13.2, and so on.
0 commit comments