-
Notifications
You must be signed in to change notification settings - Fork 186
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
ExplicitResultTypes
can't easily be used with projects using sbt-projectmatrix
#1592
Labels
Comments
Workaround: scalafix/project/ScalafixBuild.scala Lines 314 to 334 in b5230fd
|
Somewhat related: #1747 |
#1583 would solve this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As
scalafixScalaBinaryVersion
must be set at theThisBuild
level (say 2.13 for an example) andExplicitResultTypes
requires the binary version of each project to match the one used in Scalafix, an aggregatingscalafixAll
run will fail on 2.11 and 2.12 projects. There is no easy way in sbt-projectmatrix or sbt-scalafix to runscalafixAll
only on 2.13 projects.More generally, usage of sbt-projectmatrix with sbt-scalafix is non-optimal at best, dangerous at worst, as an aggregating
scalafixAll
runs rewrites across each axis in parallel. The same applies forscalafmt
I believe.The text was updated successfully, but these errors were encountered: