You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is one catch (challenge): how to deal with transitive dependencies. Not all jars will have a direct dependency from a java file. How do we know a jar depends on another jar?
There is one catch (challenge): how to deal with transitive dependencies. Not all jars will have a direct dependency from a java file. How do we know a jar depends on another jar?
Hi Xiwen, That is a good point you make
Maven or extract byte code (.class) from jar and check for class duplicity comes to mind.
High level:
Walk through all java files in the project
Create list of classes with full names. E.g. org.json.blaat.hello
Walk through all jars and create list of all classes with full names also
Compute the difference and identify which jars can be removed.
The text was updated successfully, but these errors were encountered: