Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sbt 1.5.0 isDotty
val isScala3Setting = Def.setting {
isScala3(CrossVersion.partialVersion(scalaVersion.value))
}
def isScala3(v: Option[(Long, Long)]): Boolean = v.exists(_._1 != 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment