Skip to content

Commit

Permalink
move scala-reflect to top of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Jun 3, 2024
1 parent aae283c commit 68838c5
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 68838c5

Please sign in to comment.