Find duplicate classes on the classpath
Apache 2.0Detects classes that appear in multiple dependencies on the classpath. This is similar to what the Maven duplicate-finder-maven-plugin does. Duplicate classes can cause runtime issues when different versions of the same class are loaded.
org. openrewrite. java. dependencies. search. FindDuplicateClassesmod run . --recipe= org. openrewrite. java. dependencies. search. FindDuplicateClassesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.