Skip to content

Commit

Permalink
move scala-reflect to top of dependencies (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Jun 3, 2024
1 parent aae283c commit 0cf1d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ lazy val core = project
.disablePlugins(SitePlugin)
.settings(
name := "pekko-persistence-jdbc",
libraryDependencies ++= Dependencies.Libraries,
// Transitive dependency `scala-reflect` to avoid `NoClassDefFoundError`.
// See: https://github.com/slick/slick/issues/2933
libraryDependencies ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, _)) => Seq("org.scala-lang" % "scala-reflect" % scalaVersion.value)
case _ => Nil
}),
libraryDependencies ++= Dependencies.Libraries,
mimaReportSignatureProblems := true,
mimaPreviousArtifacts := Set(
organization.value %% name.value % mimaCompareVersion))
Expand Down

0 comments on commit 0cf1d6d

Please sign in to comment.