Remove repository

Apache 2.0

Removes a repository from Gradle build scripts. Named repositories include "jcenter", "mavenCentral", "mavenLocal", and "google".

org.openrewrite.gradle.RemoveRepository

Required

The name of the repository to remove

mod run . --recipe=org.openrewrite.gradle.RemoveRepository \ -P repository=jcenter

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