-
-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for multiple Scala versions #13994
Comments
Relates to #14171, although if we cannot accomplish that here, then just supporting multiple versions is the priority. |
tdyas
pushed a commit
that referenced
this issue
Feb 10, 2022
Implement support for multiple Scala versions in the same repository. Each resolve will be assigned a single Scala version. Scala requires that all Scala-compiled jars on a classpath (i.e, a resolve) be "compatible" with one another (regardless of whether they are third-party jars or jars compiled from first-party sources). For Scala 2.x versions, for example, "compatibility" means that all Scala-compiled jars were compiled with the same minor version of Scala (i.e., 2.12). We can maintain this "Scala compatibility" property for a resolve by assigning the resolve a single Scala version which ensures that there is single Scala version that all of the third-party jars must be compatible with and that all first-party sources are compiled with. Introduce the `--scala-version-for-resolve` option to implement the mapping from resolve to Scala version. The `--scala-version` option is deprecated and will be used as a fallback if the Scala version for a particular resolve is not set in `--scala-version-for-resolve`. Closes #13994.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is very related to #13882.
The text was updated successfully, but these errors were encountered: