add auto rewrite task

This commit is contained in:
CypherpunkSamurai 2023-03-09 23:18:21 +05:30
parent e1b5441ad8
commit ac6060fe0d
1 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,10 @@ checkstyle {
toolVersion = checkstyleVersion toolVersion = checkstyleVersion
} }
task rewrite {
activeRecipe("org.openrewrite.java.cleanup.Cleanup")
}
task runCheckstyle(type: Checkstyle) { task runCheckstyle(type: Checkstyle) {
source 'src' source 'src'
include '**/*.java' include '**/*.java'