Skip to content
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

Warn if project sets crossScalaVersions #80

Open
bpholt opened this issue May 12, 2023 · 1 comment
Open

Warn if project sets crossScalaVersions #80

bpholt opened this issue May 12, 2023 · 1 comment

Comments

@bpholt
Copy link

bpholt commented May 12, 2023

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.

@eed3si9n
Copy link
Member

Sounds good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants