File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
gradle/plugins/common/src/main/kotlin Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,15 @@ plugins {
18
18
19
19
rewrite {
20
20
activeRecipe(" org.openrewrite.java.migrate.UpgradeToJava17" )
21
+ activeRecipe(" org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods" )
22
+ activeRecipe(" org.openrewrite.staticanalysis.MissingOverrideAnnotation" )
23
+ failOnDryRunResults = true
21
24
}
22
25
23
26
dependencies {
24
27
rewrite(platform(" org.openrewrite.recipe:rewrite-recipe-bom:latest.release" ))
25
28
rewrite(" org.openrewrite.recipe:rewrite-migrate-java" )
29
+ rewrite(" org.openrewrite.recipe:rewrite-static-analysis" )
26
30
}
27
31
28
32
val mavenizedProjects: List <Project > by rootProject.extra
@@ -277,6 +281,10 @@ tasks {
277
281
checkstyleMain {
278
282
config = resources.text.fromFile(checkstyle.configDirectory.file(" checkstyleMain.xml" ))
279
283
}
284
+ assemble {
285
+ dependsOn(" rewriteDryRun" )
286
+ mustRunAfter(" rewriteDryRun" )
287
+ }
280
288
checkstyleTest {
281
289
config = resources.text.fromFile(checkstyle.configDirectory.file(" checkstyleTest.xml" ))
282
290
}
You can’t perform that action at this time.
0 commit comments