Created
April 7, 2021 14:41
-
-
Save yurique/d208b813aace05b9b8aa7cb5c7239dbf to your computer and use it in GitHub Desktop.
sbt 1.5.0 isDotty
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
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