mirror of https://github.com/sbt/sbt.git
Merge pull request #67 from DamianReeves/fix/scala-3.1
Support Scala 3.1 in sandwich scenario (#66)
This commit is contained in:
commit
b92c16a52c
|
|
@ -65,7 +65,7 @@ object VirtualAxis {
|
|||
|
||||
private[sbt] def isScala2Scala3Sandwich(sbv1: String, sbv2: String): Boolean = {
|
||||
def compare(a: String, b: String): Boolean =
|
||||
a == "2.13" && (b.startsWith("0.") || b.startsWith("3.0"))
|
||||
a == "2.13" && (b.startsWith("0.") || b.startsWith("3."))
|
||||
compare(sbv1, sbv2) || compare(sbv2, sbv1)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue