Created
April 23, 2014 18:54
-
-
Save sam/11228046 to your computer and use it in GitHub Desktop.
Cross compiling with scala-logging.
This file contains hidden or 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
libraryDependencies ++= { | |
CrossVersion.partialVersion(scalaVersion.value) match { | |
case Some((2, 11)) => commonDependencies ++ Seq( | |
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.1") | |
case _ => commonDependencies ++ Seq( | |
"com.typesafe" %% "scalalogging-slf4j" % "1.0.1") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment