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

Apply a specific rule to exclude JUnit #205

Merged

Conversation

octylFractal
Copy link
Contributor

This avoids excluding junit from the test classpath, even if explicitly added by a downstream user, which doesn't make sense, and allows people to add junit to the main classpath if they need to for some reason.

@octylFractal octylFractal force-pushed the bugfix/reduce-junit-exclusion-impact branch from 7f62d78 to bee8002 Compare August 20, 2023 19:10
@jpenilla
Copy link
Member

Would applying the rule to the mappedServerCoordinates work?

@octylFractal
Copy link
Contributor Author

Upon closer review, I'm not sure this exclusion even necessary anymore? It seems like paper-api has been excluding junit from json-simple since before dev bundle version 2 (the latest supported by paperweight), so this code doesn't actually do anything. Perhaps this can just be deleted?

octylFractal and others added 2 commits April 29, 2024 16:02
This avoids excluding junit from the test classpath, even if explicitly added by a downstream user, which doesn't make sense, and allows people to add junit to the main classpath if they need to for some reason.
@jpenilla jpenilla force-pushed the bugfix/reduce-junit-exclusion-impact branch from bee8002 to 421af88 Compare April 29, 2024 23:05
Copy link
Member

@jpenilla jpenilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, and sorry for taking so long to get back to this.

It is still needed for 1.17.x, 1.18, and 1.18.1, afaict.

@jpenilla jpenilla force-pushed the bugfix/reduce-junit-exclusion-impact branch from 3a9610a to 421af88 Compare April 29, 2024 23:09
@jpenilla jpenilla merged commit b47a75a into PaperMC:main Apr 29, 2024
2 checks passed
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