mirror of https://github.com/sbt/sbt.git
Fix binary Scala warning, take 2
Ref https://github.com/sbt/librarymanagement/pull/372
This commit is contained in:
parent
beb45007dc
commit
fe33ed19de
|
|
@ -148,7 +148,7 @@ object IvyScalaUtil {
|
|||
def hasBinVerMismatch =
|
||||
depBinaryVersion != scalaBinaryVersion &&
|
||||
// scala 2.13 is compatible with scala 3.x
|
||||
Seq(depBinaryVersion, scalaBinaryVersion)
|
||||
!Seq(depBinaryVersion, scalaBinaryVersion)
|
||||
.forall(bv => bv.startsWith("3") || bv.startsWith("2.13"))
|
||||
|
||||
def matchesOneOfTheConfigs = dep.getModuleConfigurations exists { scalaVersionConfigs }
|
||||
|
|
|
|||
Loading…
Reference in New Issue