Created
March 28, 2019 19:11
-
-
Save lancegatlin/f5b1e04842e7d364097f66d849ddcc45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt.Keys._ | |
import sbt._ | |
object CleanUpSlf4j { | |
// fix multiple slf4j deps | |
// see https://stackoverflow.com/questions/25208943/how-to-fix-slf4j-class-path-contains-multiple-slf4j-bindings-at-startup-of-pl | |
val settings : Seq[Def.Setting[_]] = Seq( | |
libraryDependencies ++= Seq( | |
Dependencies.slf4j, | |
Dependencies.logback | |
).map(_.force()), | |
libraryDependencies ~= { _.map(_.exclude("org.slf4j", "slf4j-log4j12")) } | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment