Skip to content

Instantly share code, notes, and snippets.

@sam sam/build.sbt
Created Apr 23, 2014

Embed
What would you like to do?
Cross compiling with scala-logging.
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
You can’t perform that action at this time.