Comment on page
Update a Gradle plugin by id
Update a Gradle plugin by id to a later version.
- groupId: org.openrewrite
- artifactId: rewrite-gradle
- version: 8.9.5
Attempts to resolve maven metadata that failed.
This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your
rewrite.ymlcreate a new recipe with a unique name. For example:
com.yourorg.UpgradePluginVersionExample. Here's how you can define and customize such a recipe within your rewrite.yml:
displayName: Update a Gradle plugin by id example
com.yourorg.UpgradePluginVersionExamplehas been defined activate it in your build file:
- 1.Add the following to your
gradle rewriteRunto run the recipe.
The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories.