forked from scala-js/scala-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scala-js#4875: Change our strategy for crossScalaVersions handling.
sbt 1.7.0 made `++` even stricter than before. It now only applies if the target version appears as is in `crossScalaVersions`, rather than a binary-compatible one. We now introduce specific keys to hold a list of minor versions we support for each major version. As keys, they can be overridden with `set` commands if we want to test nightly versions of Scala. We also make sure to apply the full `crossScalaVersions` list even in projects that should only build with the default 2.12 version, like the `javalib`. Otherwise, tests with other minor 2.12 versions refuse to resolve because it is not the same 2.12 version everywhere.
- Loading branch information
Showing
2 changed files
with
80 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters