From 67a3faa0708bb0cfdccf60fe8356b70bfe58289c Mon Sep 17 00:00:00 2001 From: "scala-center-steward[bot]" <111975575+scala-center-steward[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 00:24:17 +0000 Subject: [PATCH] Update scala3-compiler, scala3-library, ... to 3.5.2 --- project/Dependencies.scala | 2 +- project/ScalafixBuild.scala | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 679c9e7af..20f08452a 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -7,7 +7,7 @@ import sbt._ object Dependencies { val scala212 = sys.props.getOrElse("scala212.nightly", "2.12.20") val scala213 = sys.props.getOrElse("scala213.nightly", "2.13.15") - val scala3Next = sys.props.getOrElse("scala3.nightly", "3.5.1") + val scala3Next = sys.props.getOrElse("scala3.nightly", "3.5.2") val scala3LTS = "3.3.4" val bijectionCoreV = "0.9.8" diff --git a/project/ScalafixBuild.scala b/project/ScalafixBuild.scala index f1ced5d39..e7cfc7f79 100644 --- a/project/ScalafixBuild.scala +++ b/project/ScalafixBuild.scala @@ -231,6 +231,7 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys { ) private val PreviousScalaVersion: Map[String, String] = Map( + "3.5.2" -> "3.5.1" ) override def buildSettings: Seq[Setting[_]] = List( @@ -246,6 +247,8 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys { Some("^\\d+\\.\\d+\\.\\d+\\+\\d+".r), versionScheme := Some("early-semver"), libraryDependencySchemes ++= Seq( + // Scala 3 compiler + "org.scala-lang.modules" % "scala-asm" % VersionScheme.Always, // coursier-versions always return false for the *.*.*.*-r pattern jgit uses Dependencies.jgit.withRevision(VersionScheme.Always), // metaconfig has no breaking change from 0.13.0 to 0.14.0 @@ -272,7 +275,8 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys { Seq( "org.scalameta" % s"semanticdb-scalac-core_$previous", "ch.epfl.scala" % s"scalafix-cli_$previous", - "ch.epfl.scala" % s"scalafix-reflect_$previous" + "ch.epfl.scala" % s"scalafix-reflect_$previous", + "ch.epfl.scala" % s"scalafix-rules_$previous" ) case None => Seq() }