spring-projects / spring-rewrite-commons

Apache License 2.0
6 stars 10 forks source link

Add Rewrite Plugin Invoker for Gradle and Maven #73

Closed fabapp2 closed 6 months ago

fabapp2 commented 6 months ago

Add PluginInvoker for Maven, Gradle, and Polyglot.

The Invokers provide a component to call OpenRewrite's Maven or Gradle Plugin respectively providing all required information to execute OR's build tool plugins from a Java application.

The RewritePluginInvokers execute OpenRewrite's build tool plugins as if called from cli. This reuses as much OpenRewrite code as possible but the recipes are executed in a separate process.