Merge pull request #109 from scala-steward/update/json4s-jackson_2.13-4.0.3

Update json4s-jackson_2.13 to 4.0.3
This commit is contained in:
hrj 2021-12-27 20:28:50 +05:30 committed by GitHub
commit d4e3fb7002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -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" }
@ -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