Skip to content

Commit

Permalink
Fix SLF4J errors and absence of the test logs
Browse files Browse the repository at this point in the history
The latest netty and driver versions introduced a dependency conflict.
  • Loading branch information
akudiyar committed Mar 13, 2023
1 parent fecc37f commit d6b3269
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ val commonDependencies = Seq(
"org.scalatest" %% "scalatest" % "3.2.14" % Test,
"org.scalamock" %% "scalamock" % "5.2.0" % Test,
"com.dimafeng" %% "testcontainers-scala-scalatest" % "0.40.12" % Test,
"org.slf4j" % "slf4j-api" % "1.7.36" % Test,
"ch.qos.logback" % "logback-core" % "1.2.5" % Test,
"ch.qos.logback" % "logback-classic" % "1.2.5" % Test,
"org.apache.derby" % "derby" % "10.11.1.1" % Test,
Expand All @@ -50,6 +49,7 @@ val commonDependencies = Seq(
.exclude("io.netty", "netty-handler")
.exclude("io.netty", "netty-codec")
.exclude("io.netty", "netty-codec-http")
.exclude("org.slf4j", "slf4j-api")
)

lazy val root = (project in file("."))
Expand All @@ -70,7 +70,8 @@ lazy val root = (project in file("."))
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.6.7.1",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.6.7.3",
"com.fasterxml.jackson.core" % "jackson-core" % "2.6.7",
"io.netty" % "netty-all" % "4.1.70.Final"
"io.netty" % "netty-all" % "4.1.70.Final",
"org.slf4j" % "slf4j-api" % "1.7.36" % Test
),
// Compiler options
javacOptions ++= Seq(
Expand Down

0 comments on commit d6b3269

Please sign in to comment.