diff --git a/zio-sbt-ecosystem/src/main/scala/zio/sbt/ScalaCompilerSettings.scala b/zio-sbt-ecosystem/src/main/scala/zio/sbt/ScalaCompilerSettings.scala index 0dcdab1b..9121822b 100644 --- a/zio-sbt-ecosystem/src/main/scala/zio/sbt/ScalaCompilerSettings.scala +++ b/zio-sbt-ecosystem/src/main/scala/zio/sbt/ScalaCompilerSettings.scala @@ -54,7 +54,6 @@ trait ScalaCompilerSettings { else Nil lazy val scala3Settings: Seq[Setting[_]] = Seq( - crossScalaVersions += ZioSbtEcosystemPlugin.autoImport.scala3.value, scalacOptions ++= { if (Keys.scalaBinaryVersion.value == "3") Seq("-noindent") @@ -198,11 +197,6 @@ trait ScalaCompilerSettings { ): Seq[Setting[_]] = Seq( Keys.name := name, - Keys.crossScalaVersions := Seq( - ZioSbtEcosystemPlugin.autoImport.scala211.value, - ZioSbtEcosystemPlugin.autoImport.scala212.value, - ZioSbtEcosystemPlugin.autoImport.scala213.value - ), scalacOptions ++= stdOptions ++ extraOptions( Keys.scalaVersion.value, javaPlatform, diff --git a/zio-sbt-ecosystem/src/main/scala/zio/sbt/ZioSbtEcosystemPlugin.scala b/zio-sbt-ecosystem/src/main/scala/zio/sbt/ZioSbtEcosystemPlugin.scala index 64293962..ed979e79 100644 --- a/zio-sbt-ecosystem/src/main/scala/zio/sbt/ZioSbtEcosystemPlugin.scala +++ b/zio-sbt-ecosystem/src/main/scala/zio/sbt/ZioSbtEcosystemPlugin.scala @@ -106,7 +106,7 @@ object ZioSbtEcosystemPlugin extends AutoPlugin { scala212 := Versions.scala212, scala213 := Versions.scala213, scalaVersion := scala213.value, - crossScalaVersions := Seq(scalaVersion.value) + crossScalaVersions := Seq(scala211.value, scala212.value, scala213.value, scala3.value) ) override def globalSettings: Seq[Def.Setting[_]] =