-
Notifications
You must be signed in to change notification settings - Fork 1k
[2.x] allowMismatchScala setting #8802
Copy link
Copy link
Closed
Description
steps
sbt 2.x allows dependsOn(...) mismatched Scala subproject dependencies by design, but the error state might be confusing.
expectations
- Provide a setting
allowMismatchScala, which by default should be set tofalseat the global level. - When
allowMismatchScalais set tofalse, error out when mismatch Scala subprojects are detected, with the exception of Scala 2.13 and (3.0 through 3.7). - When
allowMismatchScalais set totruefor the subproject, allowdependsOn(...)to an arbitrary Scala version as it is coded right now in develop branch.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels