Skip to content

Commit

Permalink
Merge pull request #3728 from tgodzik/prefer-2.13
Browse files Browse the repository at this point in the history
Prefer Scala 2.13 version over older versions
  • Loading branch information
tgodzik authored Mar 17, 2022
2 parents e15005b + c336aa9 commit 4b449bf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ final class BuildTargets(
)
if (isScala2) score <<= 1

val isScala213Version =
scalaTarget(t).exists(info => info.scalaBinaryVersion == "2.13")
if (isScala213Version) score <<= 1

score
}

Expand Down

0 comments on commit 4b449bf

Please sign in to comment.