Remove unused methods/classes from dependencies

Viewed 686

Many libraries contain much more functions than I need. If I shade them into my jar, the jar contains 80% code which is never used.

Is there a way to remove any unused methods & classes from the dependencies I shade into my jar?

1 Answers
Related