Skip to content

Add openrewrite support to Shepherd #915

Description

@kavitha186

It would be great if we can activate the openrewrite recipes across multiple repos and run the recipes to apply the changes on the codebase https://docs.openrewrite.org/

To add this feature, we might need to add 2 commands

  1. activateRewriteRecipe - recipe to be activated on the repository
    Recipe catalog: https://docs.openrewrite.org/recipes

  2. runRewriteRecipe - Run a command "rewriteRun" on project root to apply the recipe changes

Activate Rewrite Recipe should support args as recipe name for both maven and gradle project
Eg: rewrite {
activeRecipe(
'org.openrewrite.java.OrderImports',
)
}

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions