Skip to content

Commit

Permalink
Update poi version to 5.2.3 (#32)
Browse files Browse the repository at this point in the history
* Update poi version to 5.2.3

* Update build to account for log4j conflicts across spark versions
  • Loading branch information
josecsotomorales committed Jul 10, 2023
1 parent 2380ea5 commit ced03bd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ val sparkVersion = settingKey[String]("Spark version")
val sparkExcelVersion = settingKey[String]("Version of the Spark Excel library")
val scalaTestVersion = settingKey[String]("ScalaTest version")
val poiVersion = settingKey[String]("Apache POI version")
val log4JVersion = settingKey[String]("Apache Log4J version")

name := "spark-excel"
organization := "com.elastacloud"
Expand Down Expand Up @@ -61,7 +62,9 @@ libraryDependencies ++= Seq(
"org.apache.poi" % "poi-ooxml-lite" % poiVersion.value % Compile,
"org.apache.commons" % "commons-compress" % "1.21" % Compile,
"org.apache.commons" % "commons-collections4" % "4.4" % Compile,
"commons-io" % "commons-io" % "2.11.0" % Compile
"commons-io" % "commons-io" % "2.11.0" % Compile,
"org.apache.logging.log4j" % "log4j-core" % log4JVersion.value % Compile,
"org.apache.logging.log4j" % "log4j-api" % log4JVersion.value % Compile
)

// Setup test dependencies and configuration
Expand Down Expand Up @@ -130,6 +133,7 @@ val commonSettings = Seq(
}
},
scalaTestVersion := "3.2.16",
poiVersion := "5.2.2",
poiVersion := "5.2.3",
log4JVersion := "2.20.0",
crossVersion := CrossVersion.disabled
)

0 comments on commit ced03bd

Please sign in to comment.