Skip to content

Commit

Permalink
chore: Add support for Scala 3.3.1-RC4 and move older versions into r…
Browse files Browse the repository at this point in the history
…emovedScalaVersions
  • Loading branch information
tgodzik committed Jul 12, 2023
1 parent 31529e0 commit 9e5b5bb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ object MtagsResolver {
"3.0.1" -> "0.11.10",
"3.0.2" -> "0.11.12",
"3.2.2-RC1" -> "0.11.10",
"3.3.0-RC1" -> "0.11.10",
"3.3.0-RC2" -> "0.11.11",
"3.3.0-RC3" -> "0.11.12",
"3.3.0-RC4" -> "0.11.12",
"3.3.0-RC5" -> "0.11.12",
"3.3.0-RC6" -> "0.11.12",
"3.3.1-RC1" -> "0.11.12",
"3.3.1-RC2" -> "0.11.12",
"3.3.1-RC3" -> "0.11.12",
)

class Default extends MtagsResolver {
Expand Down
5 changes: 3 additions & 2 deletions project/V.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ object V {
val scala212 = "2.12.18"
val scala213 = "2.13.11"
val scala3 = "3.3.0"
val scala3RC: Option[String] = Some("3.3.1-RC3")
// When you can add to removedScalaVersions in MtagsResolver.scala with the last released version
val scala3RC: Option[String] = Some("3.3.1-RC4")
val sbtScala = "2.12.17"
val ammonite212Version = "2.12.18"
val ammonite213Version = "2.13.11"
Expand Down Expand Up @@ -104,7 +105,7 @@ object V {
Seq(scala3, "3.2.2", "3.1.3") ++ scala3RC.toSeq
// whenever version is removed please add it to MtagsResolver under last supported Metals version
def deprecatedScala3Versions =
Seq("3.3.1-RC2", "3.2.1", "3.2.0", "3.1.2", "3.1.1", "3.1.0")
Seq("3.2.1", "3.2.0", "3.1.2", "3.1.1", "3.1.0")
// NOTE if you had a new Scala Version make sure it's contained in quickPublishScalaVersions
def scala3Versions = nonDeprecatedScala3Versions ++ deprecatedScala3Versions

Expand Down

0 comments on commit 9e5b5bb

Please sign in to comment.