From 790789ad6d826b9cdf2770f50e32e89fbfa98e19 Mon Sep 17 00:00:00 2001 From: Eric K Richardson Date: Thu, 26 Sep 2024 15:39:23 -0700 Subject: [PATCH] Update Scala versions based on the Scalafix supported versions (#392) --- build.sbt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index b22cf023..6d51b945 100644 --- a/build.sbt +++ b/build.sbt @@ -50,7 +50,13 @@ val scala3 = "3.3.3" val javaTime = "1.3.0" val scCompat = "2.12.0" -val versionsBase = Seq(scala212, scala213) +// We use the 2.12 and 2.13 version that the scalafix library uses +// and when the scalafix version gets updated the system will build +// using those Scala version. The Scala versions above are versions +// that get updated via Scala Steward and will match the scalafix +// versions when scalafix version is updated and in sync with the +// latest Scala versions. +val versionsBase = _root_.scalafix.sbt.BuildInfo.supportedScalaVersions val versions = versionsBase :+ scala3 ThisBuild / scalaVersion := scala213