Skip to content

Commit

Permalink
fix scala3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam committed Jun 3, 2024
1 parent 9af7519 commit 37a259a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ lazy val core = project
libraryDependencies ++= Dependencies.Libraries,
// Transitive dependency `scala-reflect` to avoid `NoClassDefFoundError`.
// See: https://github.com/slick/slick/issues/2933
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value,
libraryDependencies ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, _)) => Seq("org.scala-lang" % "scala-reflect" % scalaVersion.value)
case _ => Nil
}),
mimaReportSignatureProblems := true,
mimaPreviousArtifacts := Set(
organization.value %% name.value % mimaCompareVersion))
Expand Down

0 comments on commit 37a259a

Please sign in to comment.