mirror of https://github.com/sbt/sbt.git
Support Scala 3.1 in sandwich scenario
This commit is contained in:
parent
e46c2e3c3a
commit
eeebcc41bf
|
|
@ -65,7 +65,7 @@ object VirtualAxis {
|
||||||
|
|
||||||
private[sbt] def isScala2Scala3Sandwich(sbv1: String, sbv2: String): Boolean = {
|
private[sbt] def isScala2Scala3Sandwich(sbv1: String, sbv2: String): Boolean = {
|
||||||
def compare(a: String, b: 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.0") || b.startsWith("3.1"))
|
||||||
compare(sbv1, sbv2) || compare(sbv2, sbv1)
|
compare(sbv1, sbv2) || compare(sbv2, sbv1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue