Skip to content

Commit 790789a

Browse files
authored
Update Scala versions based on the Scalafix supported versions (#392)
1 parent 7eb2778 commit 790789a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.sbt

+7-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ val scala3 = "3.3.3"
5050
val javaTime = "1.3.0"
5151
val scCompat = "2.12.0"
5252

53-
val versionsBase = Seq(scala212, scala213)
53+
// We use the 2.12 and 2.13 version that the scalafix library uses
54+
// and when the scalafix version gets updated the system will build
55+
// using those Scala version. The Scala versions above are versions
56+
// that get updated via Scala Steward and will match the scalafix
57+
// versions when scalafix version is updated and in sync with the
58+
// latest Scala versions.
59+
val versionsBase = _root_.scalafix.sbt.BuildInfo.supportedScalaVersions
5460
val versions = versionsBase :+ scala3
5561

5662
ThisBuild / scalaVersion := scala213

0 commit comments

Comments
 (0)