Change a Gradle plugin

Apache 2.0

Changes the selected Gradle plugin to the new plugin.

org.openrewrite.gradle.plugins.ChangePlugin

Required

The current Gradle plugin id.

The new Gradle plugin id.

Optional

An exact version number or node-style semver selector used to select the version number. You can also use latest.release for the latest available version and latest.patch if the current version is a valid semantic version. For more details, you can look at the documentation page of version selectors.

mod run . --recipe=org.openrewrite.gradle.plugins.ChangePlugin \ -P pluginId=org.openrewrite.rewrite \ -P newPluginId=org.openrewrite.rewrite

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