File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,12 @@ val mockito = Seq(
3232
3333// Parquet & Avro
3434val avro = Seq (
35- " org.apache.parquet" % " parquet-avro" % " 1.15.2" ,
36- " org.apache.avro" % " avro" % " 1.11.4" ,
37- " org.apache.hadoop" % " hadoop-common" % " 3.4.2" ,
35+ " org.apache.parquet" % " parquet-avro" % " 1.15.2" excludeAll (excludeSlf4jAndLog4j * ) ,
36+ " org.apache.avro" % " avro" % " 1.11.4" excludeAll (excludeSlf4jAndLog4j * ) ,
37+ " org.apache.hadoop" % " hadoop-common" % " 3.4.2" excludeAll (excludeSlf4jAndLog4j * )
3838)
3939
4040libraryDependencies ++= akka ++ typesafeConfig ++ http ++
4141json4s ++ mockito ++ avro :+ " com.google.code.gson" % " gson" % Versions .gson :+
42- " com.typesafe.scala-logging" %% " scala-logging" % Versions .scalaLogging :+
43- " org.scalatest" %% " scalatest" % Versions .scalatest % Test
44-
42+ " com.typesafe.scala-logging" %% " scala-logging" % Versions .scalaLogging :+
43+ " org.scalatest" %% " scalatest" % Versions .scalatest % Test
Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ trait SoftClient4es {
2727 )
2828 )
2929
30+ lazy val excludeSlf4jAndLog4j : Seq [ExclusionRule ] = Seq (
31+ ExclusionRule (organization = " org.slf4j" , name = " slf4j-log4j12" ),
32+ ExclusionRule (organization = " org.slf4j" , name = " slf4j-reload4j" ),
33+ ExclusionRule (organization = " log4j" , name = " log4j" ),
34+ ExclusionRule (organization = " org.apache.logging.log4j" )
35+ )
36+
3037 def jacksonDependencies (esVersion : String ): Seq [ModuleID ] = {
3138 val jackson2_19 = " 2.19.0"
3239 val jackson2_13 = " 2.13.3"
You can’t perform that action at this time.
0 commit comments