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

chore: clean up inter-project dependencies #1247

Conversation

NTPape
Copy link
Contributor

@NTPape NTPape commented Jun 9, 2024

Remove unused dependencies between the specs2 modules. This change is "breaking" in the sense that projects using the specs2 library may have to be more explicit with their specs2 dependency declarations; most notably specs2-core, specs2-analysis and specs2-matcher-extra may need to be added explicitly if e.g. only specs2-html, specs2-gwt or specs2-mock were depended on before.

This change originates from the observation that html currently pulls in a scala-compiler dependency, which came via (form,) matcherExtra and analysis, which are all not actually needed for html. The same holds true for form and gwt.

For a full list of changes, refer to the diff.

(I don't know if this kind of "breaking change" is acceptable. If not, feel free to close this PR. If only some of these changes are wanted, I can change it accordingly. I will wait for feedback before making a similar change for the master branch.)

Remove unused dependencies between the specs2 modules. This change is "breaking" in the sense that projects using the specs2 library may have to be more explicit with their specs2 dependency declarations; most notably `specs2-core`, `specs2-analysis` and `specs2-matcher-extra` may need to be added explicitly if e.g. only `specs2-html`, `specs2-gwt` or `specs2-mock` were depended on before.
@etorreborre etorreborre merged commit 3680da1 into etorreborre:specs2-4.x-maintenance Jun 11, 2024
4 checks passed
@etorreborre
Copy link
Owner

I think that this is ok because I suspect that very few people are using those modules. Thanks.

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

Successfully merging this pull request may close these issues.

2 participants