Skip to content

Commit b79903c

Browse files
author
Vincent Potucek
committed
[Experimental] Add rewrite support for RemoveUnusedPrivateMethods & RemoveUnusedImports
1 parent bdf8f28 commit b79903c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gradle/rewrite.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ rewrite {
99
failOnDryRunResults = true
1010
}
1111

12+
// off switch for release: ' -x check' or ' -x rewriteDryRun spotlessJavaCheck'
13+
//tasks {
14+
// check.dependsOn(rewriteDryRun)
15+
//}
1216
//2 problems were found storing the configuration cache.
1317
//- Task `:rewriteDryRun` of type `org.openrewrite.gradle.RewriteDryRunTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
1418
// See https://docs.gradle.org/8.14.3/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

0 commit comments

Comments
 (0)