Get Gradle plugin repositories from the buildscript

MSAL

Replace the deprecated GradleProject.getMavenPluginRepositories() with GradleProject.getBuildscript().getMavenRepositories().

org.openrewrite.java.recipes.UseBuildscriptMavenRepositories
mod run . --recipe=org.openrewrite.java.recipes.UseBuildscriptMavenRepositories

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.