-
Notifications
You must be signed in to change notification settings - Fork 49
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
ThisBuild / crossScalaVersions results in error on project load #615
Comments
Hmm, no, that seems odd. Any chance you can link to the build? |
INFO: my Scala cross versions are specified as: inThisBuild(List(
...
crossScalaVersions := Seq(Scala213, Scala212, Scala3),
...
) Which I believe should be equivalent to what you had: it works fine on |
Unfortunately this is an internal library so I can't share the build. I'll see if I can minimize.
FWIW, I was under the impression that the inThisBuild(List(
crossScalaVersions := Seq(Scala_2_12, Scala_2_13)
)) (albeit with a lot of other settings still set using the scope directly) |
@armanbilge I was able to minimize; check out this gist. tl;dr, it looks like it was caused by the root project explicitly setting |
Using sbt-typelevel-settings v0.5.0-RC9, is it expected that using
will result in this error on load?
Removing
ThisBuild /
makes it work, but it's surprising that it matters:This is the line in question:
sbt-typelevel/settings/src/main/scala/org/typelevel/sbt/TypelevelSettingsPlugin.scala
Line 49 in 9309a65
The text was updated successfully, but these errors were encountered: