Skip to content

Commit

Permalink
Merge pull request #109 from scala-steward/update/json4s-jackson_2.13…
Browse files Browse the repository at this point in the history
…-4.0.3

Update json4s-jackson_2.13 to 4.0.3
  • Loading branch information
hrj authored Dec 27, 2021
2 parents 4fc2d4e + 4988e2e commit d4e3fb7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lazy val root = (project in file(".")).settings(
name := "LibreCaptcha",
libraryDependencies += "com.sksamuel.scrimage" % "scrimage-core" % "4.0.24",
libraryDependencies += "com.sksamuel.scrimage" % "scrimage-filters" % "4.0.24",
libraryDependencies += "org.json4s" % "json4s-jackson_2.13" % "3.6.12"
libraryDependencies += "org.json4s" % "json4s-jackson_2.13" % "4.0.3"
)

Compile / unmanagedResourceDirectories += { baseDirectory.value / "lib" }
Expand All @@ -29,4 +29,12 @@ assembly / mainClass := Some("lc.LCFramework")
Compile / run / mainClass := Some("lc.LCFramework")
assembly / assemblyJarName := "LibreCaptcha.jar"

ThisBuild / assemblyMergeStrategy := {
case PathList("module-info.class") => MergeStrategy.discard
case x if x.endsWith("/module-info.class") => MergeStrategy.discard
case x =>
val oldStrategy = (ThisBuild / assemblyMergeStrategy).value
oldStrategy(x)
}

run / fork := true

0 comments on commit d4e3fb7

Please sign in to comment.