mirror of
https://github.com/sbt/sbt.git
synced 2026-09-07 19:05:53 +02:00
Fixes https://github.com/sbt/sbt/issues/7327 **Problem** In builds with mixed Scala patch versions (like scalameta), it's possible for a core subproject to be set to the lastest 2.12.x, but the compiler plugin component is cross published to 2.12.0 etc. `++ 2.12.0` in this case does not work since sbt 1.7.x onwards requires the queried Scala version to be listed in `crossScalaVersions`. **Solution** This implements sbt 1.6.x-like fallback mechanism, but instead of using the queried version (e.g. 2.12.0) it will set the Scala version to one of listed versions that is binary compatible.
2 lines
18 B
Properties
2 lines
18 B
Properties
sbt.version=1.9.1
|