Skip to content

Commit 1fb5569

Browse files
authored
Merge pull request #1129 from mkurz/jackson-module-scala
Explicitly set jackson-module-scala version
2 parents 72a0371 + 7e66eb0 commit 1fb5569

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

project/Dependencies.scala

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ object Dependencies {
5959
// Since these deps are only used in tests it does not matter anyway.
6060
"org.apache.pekko" %% "pekko-actor-typed" % pekkoVersion,
6161
"org.apache.pekko" %% "pekko-serialization-jackson" % pekkoVersion,
62-
"org.apache.pekko" %% "pekko-slf4j" % pekkoVersion
62+
// play-json pulls in newer jackson version than pekkoVersion ships, need to override to avoid exceptions:
63+
// https://github.com/apache/pekko/blob/v1.2.1/project/Dependencies.scala#L110-L111
64+
("com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.20.0")
65+
.excludeAll(ExclusionRule(organization = "org.scala-lang")),
66+
"org.apache.pekko" %% "pekko-slf4j" % pekkoVersion
6367
).map(_ % Test)
6468

6569
val reactiveStreams = Seq("org.reactivestreams" % "reactive-streams" % "1.0.4")

0 commit comments

Comments
 (0)