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