by moring · 5y ago · 0 comments
This seems interesting to me because most of the time, dependency management happens to include two versions of the same library by accident and a simple exclusion rule fixes the problem, but obviously only if you know about it in the first place.
This is also a reason why you can't use regular Java reflection to do something like finding all references to a method, or even finding all classes - classes are loaded on the fly, only as needed (there are libraries that modify this behavior, though).
We run this plugin where I work. We have no plans to modularize our build since the duplicate class protection would just be worse that this plugin.