Remove duplicate plugin declarations
MSALRemove a plugin declared more than once in the plugins block of a build script, with the same version and apply flag, keeping the first declaration. Gradle fails such a build with "Plugin with id '...' was already requested". Declarations that differ in version or in apply false are left alone, since which one to keep is a decision for the build's author, and so are version catalog aliases.
org. openrewrite. gradle. migrate. plugins. RemoveDuplicatePluginsmod run . --recipe= org. openrewrite. gradle. migrate. plugins. RemoveDuplicatePluginsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.