From cba15f519d7af9ea1e39995dd9a8eafc09f34de7 Mon Sep 17 00:00:00 2001 From: Johan Date: Sun, 27 Oct 2024 17:32:34 +0700 Subject: [PATCH] feat: Support Scala 3.5.2 and update version for latest 2.12/13 (#198) --- .../scala/com/sksamuel/scapegoat/sbt/ScapegoatSbtPlugin.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/scala/com/sksamuel/scapegoat/sbt/ScapegoatSbtPlugin.scala b/src/main/scala/com/sksamuel/scapegoat/sbt/ScapegoatSbtPlugin.scala index ce74e39..6305b0e 100644 --- a/src/main/scala/com/sksamuel/scapegoat/sbt/ScapegoatSbtPlugin.scala +++ b/src/main/scala/com/sksamuel/scapegoat/sbt/ScapegoatSbtPlugin.scala @@ -136,7 +136,8 @@ object ScapegoatSbtPlugin extends AutoPlugin { val selectedScapegoatVersion = (scapegoatVersion ?).value.getOrElse { scalaVersion.value match { // To give a better out of the box experience, default to a recent version of Scapegoat for known Scala versions - case "3.3.4" | "3.5.1" | "2.13.14" | "2.13.15" | "2.12.19" | "2.12.20" => "3.0.3" + case "3.3.4" | "3.5.2" | "2.13.14" | "2.13.15" | "2.12.19" | "2.12.20" => "3.1.2" + case "3.5.1" => "3.0.3" case "3.3.3" => "3.0.2" case "3.4.2" => "3.0.0" case "2.13.13" | "2.12.18" => "2.1.6"