File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
gradle/plugins/common/src/main/kotlin Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,17 @@ plugins {
1818
1919rewrite {
2020 activeRecipe(" org.openrewrite.java.migrate.UpgradeToJava17" )
21+ activeRecipe(" org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods" )
22+ activeRecipe(" org.openrewrite.staticanalysis.MissingOverrideAnnotation" )
23+ failOnDryRunResults = true
2124}
2225
2326dependencies {
24- rewrite(platform(" org.openrewrite.recipe:rewrite-recipe-bom:latest.release" ))
27+ // https://github.com/openrewrite/rewrite/issues/5677
28+ // rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:latest.release"))
29+ rewrite(platform(" org.openrewrite.recipe:rewrite-recipe-bom:3.10.0" ))
2530 rewrite(" org.openrewrite.recipe:rewrite-migrate-java" )
31+ rewrite(" org.openrewrite.recipe:rewrite-static-analysis" )
2632}
2733
2834val mavenizedProjects: List <Project > by rootProject.extra
@@ -280,6 +286,9 @@ tasks {
280286 checkstyleTest {
281287 config = resources.text.fromFile(checkstyle.configDirectory.file(" checkstyleTest.xml" ))
282288 }
289+ check {
290+ dependsOn(" rewriteDryRun" )
291+ }
283292}
284293
285294pluginManager.withPlugin(" java-test-fixtures" ) {
You can’t perform that action at this time.
0 commit comments