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

FR: help people spot *almost* unused dependencies #614

Open
iamdanfox opened this issue Apr 16, 2019 · 2 comments
Open

FR: help people spot *almost* unused dependencies #614

iamdanfox opened this issue Apr 16, 2019 · 2 comments
Labels

Comments

@iamdanfox
Copy link
Contributor

What happened?

We recently found someone importing all of hadoop just for the Time class.

What did you want to happen?

It would great if we could somehow warn people that they're taking a huge dependency just for one class.

@stale
Copy link

stale bot commented Sep 23, 2019

This issue has been automatically marked as stale because it has not been touched in the last 60 days. Please comment if you'd like to keep it open, otherwise it'll be closed in 7 days time.

@stale stale bot added the stale label Sep 23, 2019
@iamdanfox iamdanfox removed the stale label Sep 23, 2019
@esword
Copy link
Contributor

esword commented Oct 16, 2019

This can be done if switch to using the jdeps dependency analyzer (https://docs.oracle.com/javase/9/tools/jdeps.htm#JSWOR690). Can also use the --apionly option with that analyzer to be able to report what dependencies should be api vs implementation.

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

No branches or pull requests

2 participants