sbt-projectmatrix icon indicating copy to clipboard operation
sbt-projectmatrix copied to clipboard

Warn if project sets crossScalaVersions

Open bpholt opened this issue 2 years ago • 1 comments

I've been bitten by this a couple times over the years, when converting a project to use sbt-projectmatrix, forgetting to remove all the crossScalaVersions settings previously in the project definition. This feels like it's always an error, and the resulting issues are usually not obviously linked to this setting. Could we add something to the plugin to detect this situation and at least print a warning, or if it truly is always an error, fail to load the project until the setting is removed?

If this seems like something that would be merged, I'd plan to work on it and contribute a PR, but I wanted to check to see if it made sense before starting.

bpholt avatar May 12 '23 18:05 bpholt

Sounds good to me.

eed3si9n avatar May 12 '23 20:05 eed3si9n