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 {
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
- 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" ))
25
30
rewrite(" org.openrewrite.recipe:rewrite-migrate-java" )
31
+ rewrite(" org.openrewrite.recipe:rewrite-static-analysis" )
26
32
}
27
33
28
34
val mavenizedProjects: List <Project > by rootProject.extra
@@ -280,6 +286,9 @@ tasks {
280
286
checkstyleTest {
281
287
config = resources.text.fromFile(checkstyle.configDirectory.file(" checkstyleTest.xml" ))
282
288
}
289
+ rewriteDryRun {
290
+ dependsOn(" check" )
291
+ }
283
292
}
284
293
285
294
pluginManager.withPlugin(" java-test-fixtures" ) {
You can’t perform that action at this time.
0 commit comments