Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Scala 3.5.1 as the latest announced version #3206

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions project/deps.sc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object Scala {
def scala3LtsPrefix = "3.3" // used for the LTS version tags
def scala3Lts = s"$scala3LtsPrefix.4" // the LTS version currently used in the build
def scala3Next = "3.5.1" // the newest/next version of Scala
def scala3NextAnnounced = "3.5.0" // the newest/next version of Scala that's been announced
def scala3NextAnnounced = scala3Next // the newest/next version of Scala that's been announced
def scala3NextRc = "3.5.2-RC1" // the latest RC version of Scala Next

// The Scala version used to build the CLI itself.
Expand All @@ -18,13 +18,13 @@ object Scala {
// The Scala version used by default to compile user input.
def defaultUser = sys.props.get("scala.version.user").getOrElse(scala3Next)

val allScala2 = Seq(scala213, scala212)
val defaults = Seq(defaultInternal, defaultUser).distinct
val allScala3 = Seq(scala3Lts, scala3Next, scala3NextRc)
val all = (allScala2 ++ allScala3 ++ defaults).distinct
val scala3MainVersions = (defaults ++ allScala3).distinct
val mainVersions = (Seq(scala213) ++ scala3MainVersions).distinct
val runnerScalaVersions = runnerScala3 +: allScala2
val allScala2 = Seq(scala213, scala212)
val defaults = Seq(defaultInternal, defaultUser).distinct
val allScala3 = Seq(scala3Lts, scala3Next, scala3NextAnnounced, scala3NextRc).distinct
val all = (allScala2 ++ allScala3 ++ defaults).distinct
val scala3MainVersions = (defaults ++ allScala3).distinct
val mainVersions = (Seq(scala213) ++ scala3MainVersions).distinct
val runnerScalaVersions = runnerScala3 +: allScala2
val testRunnerScalaVersions = runnerScalaVersions ++ allScala3

def scalaJs = "1.16.0"
Expand Down Expand Up @@ -53,7 +53,7 @@ object Scala {

def maxAmmoniteScala212Version = scala212
def maxAmmoniteScala213Version = "2.13.14"
def maxAmmoniteScala3Version = scala3NextAnnounced
def maxAmmoniteScala3Version = "3.5.0"
lazy val listMaxAmmoniteScalaVersion =
Seq(maxAmmoniteScala212Version, maxAmmoniteScala213Version, maxAmmoniteScala3Version)
lazy val listAllAmmonite = {
Expand Down
Loading