mirror of https://github.com/sbt/sbt.git
sbt 2.x allows `dependsOn(...)` between subprojects with mismatched Scala versions without any warning or error. This can lead to confusing classpath issues at compile or runtime, especially now that Scala 3.8+ has dropped backward TASTy compatibility with 2.13. Per review feedback, move the Scala version mismatch check from compileTask to projectDependenciesTask, where PR #8681 already handles Scala version mixing logic. This provides earlier detection and keeps the validation co-located with cross-version resolution. Generated-by: Copilot Co-authored-by: dev-miro26 <121471669+dev-miro26@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||