gradle-baseline icon indicating copy to clipboard operation
gradle-baseline copied to clipboard

FR: help people spot *almost* unused dependencies

Open iamdanfox opened this issue 5 years ago • 2 comments

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.

iamdanfox avatar Apr 16 '19 17:04 iamdanfox

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[bot] avatar Sep 23 '19 14:09 stale[bot]

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.

esword avatar Oct 16 '19 17:10 esword