From 4a4a9abd1be16c752971c1f1d20c0f94acbc3391 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Tue, 12 Apr 2022 23:49:11 +0200 Subject: [PATCH 1/2] Update scala3-library, ... to 3.1.3-RC2 --- .github/workflows/ci.yml | 2 +- build.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aeb17eb..5a5e7ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: java: [8, 11, 17] - scala: [2.13.8, 3.1.2-RC1] + scala: [2.13.8, 3.1.3-RC2] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/build.sbt b/build.sbt index 22a2868..e3220e5 100644 --- a/build.sbt +++ b/build.sbt @@ -1,4 +1,4 @@ -ThisBuild / scalaVersion := "3.1.2-RC1" +ThisBuild / scalaVersion := "3.1.3-RC2" ThisBuild / crossScalaVersions := Seq((ThisBuild / scalaVersion).value, "2.13.8") lazy val root = project.in(file(".")) From 33c481976b798f1efb68ecd12c46de2d737f7e3f Mon Sep 17 00:00:00 2001 From: Philippus Date: Sat, 23 Apr 2022 16:35:55 +0200 Subject: [PATCH 2/2] Rename -Yscala-release to -scala-output-version --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index e3220e5..d2dd6a3 100644 --- a/build.sbt +++ b/build.sbt @@ -21,7 +21,7 @@ lazy val collectionContrib = crossProject(JVMPlatform, JSPlatform) Compile / compile / scalacOptions ++= { CrossVersion.partialVersion(scalaVersion.value) match { case Some((2, _)) => Seq("-opt-warnings", "-Werror", "-Wconf:origin=scala.collection.IterableOps.toIterable:s") - case Some((3, _)) => Seq("-Xfatal-warnings", "-Yscala-release:3.0", "-Wconf:cat=deprecation:s") + case Some((3, _)) => Seq("-Xfatal-warnings", "-scala-output-version:3.0", "-Wconf:cat=deprecation:s") } }, Compile / doc / scalacOptions ++= {