Package org.openrewrite.gradle
Class RewritePlugin
- java.lang.Object
-
- org.openrewrite.gradle.RewritePlugin
-
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public class RewritePlugin extends java.lang.Object implements org.gradle.api.Plugin<org.gradle.api.Project>Adds the RewriteExtension to the current project and registers tasks per-sourceSet that implement rewrite fixing and warning. Only needs to be applied to projects with java sources. No point in applying this to any project that does not have java sources of its own, such as the root project in a multi-project builds.
-
-
Constructor Summary
Constructors Constructor Description RewritePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.gradle.api.Project project)
-