Skip to content

Commit

Permalink
Revert back to using for3Use2_13 mode for elasticmq because they buil…
Browse files Browse the repository at this point in the history
…t with non LTS Scala 3
  • Loading branch information
calvinlfer committed Sep 2, 2024
1 parent f68a2a1 commit e1a126c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,12 @@ lazy val sqs =
"org.scala-lang.modules" %% "scala-collection-compat" % "2.12.0",
"dev.zio" %% "zio-test" % zioVersion % "test",
"dev.zio" %% "zio-test-sbt" % zioVersion % "test",
"org.elasticmq" %% "elasticmq-rest-sqs" % "1.6.7" % "test",
"org.elasticmq" %% "elasticmq-core" % "1.6.7" % "test"
"org.elasticmq" %% "elasticmq-rest-sqs" % "1.6.7" % "test" cross CrossVersion.for3Use2_13,
"org.elasticmq" %% "elasticmq-core" % "1.6.7" % "test" cross CrossVersion.for3Use2_13
) ++ (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 12)) =>
Seq("org.typelevel" %% "kind-projector" % "0.10.3")
case Some((2, 13)) =>
Seq("org.typelevel" %% "kind-projector" % "0.10.3")
case _ =>
case Some((2, 12 | 13)) =>
Seq("org.typelevel" %% "kind-projector" % "0.13.3" cross CrossVersion.full)
case _ =>
Nil
}),
scalacOptions ++= Seq(
Expand Down Expand Up @@ -128,7 +126,8 @@ lazy val sqs =
"-Ywarn-unused",
"-Ywarn-value-discard"
)
case _ => Nil
case _ =>
Nil
}),
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
)
Expand Down

0 comments on commit e1a126c

Please sign in to comment.