Merge pull request #373 from eed3si9n/wip/6388-take2

Fix binary Scala warning, take 2
This commit is contained in:
eugene yokota 2021-03-22 02:46:10 -04:00 committed by GitHub
commit 23b7d923af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 }