Created
January 4, 2015 20:26
-
-
Save yatskevich/f7a0e26a1bd4205215e2 to your computer and use it in GitHub Desktop.
Redirect legacy loggers to slf4j/logback
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 ApplicationBuild extends Build { | |
val unifiedLogging = Seq( | |
"commons-logging" % "commons-logging" % "99-empty", | |
"log4j" % "log4j" % "99-empty", | |
"org.slf4j" % "log4j-over-slf4j" % "1.7.9", | |
"org.slf4j" % "jcl-over-slf4j" % "1.7.9", | |
"org.slf4j" % "jul-to-slf4j" % "1.7.9" | |
) | |
val appDependencies = libraryDependencies ++= unifiedLogging | |
val main = Project("your_project", file(".")).settings( | |
appDependencies: _* | |
).settings( | |
resolvers += "version99" at "http://version99.qos.ch/" | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment