add auto rewrite task
This commit is contained in:
parent
e1b5441ad8
commit
ac6060fe0d
|
@ -129,6 +129,10 @@ checkstyle {
|
|||
toolVersion = checkstyleVersion
|
||||
}
|
||||
|
||||
task rewrite {
|
||||
activeRecipe("org.openrewrite.java.cleanup.Cleanup")
|
||||
}
|
||||
|
||||
task runCheckstyle(type: Checkstyle) {
|
||||
source 'src'
|
||||
include '**/*.java'
|
||||
|
|
Loading…
Reference in New Issue