You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
16
16
* Adds support for worktrees (fixes [#1765](https://github.com/diffplug/spotless/issues/1765))
17
17
* Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](https://github.com/diffplug/spotless/pull/2345))
18
18
* Bump default `ktlint` version to latest `1.5.0` -> `1.7.1`. ([#2555](https://github.com/diffplug/spotless/pull/2555))
19
+
*[Experimental] Add `rewrite` support for `RemoveUnusedPrivateMethods` & `RemoveUnusedImports` ([#2576](https://github.com/diffplug/spotless/pull/2576))
// off switch for release: ' -x check' or ' -x rewriteDryRun'
20
+
//tasks {
21
+
// check.dependsOn(rewriteDryRun)
22
+
//}
23
+
24
+
// > Task :rewriteDryRun FAILED
25
+
//
26
+
//2 problems were found storing the configuration cache.
27
+
//- 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.
28
+
// See https://docs.gradle.org/8.14.3/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
29
+
//- Task `:rewriteDryRun` of type `org.openrewrite.gradle.RewriteDryRunTask`: invocation of 'Task.project' at execution time is unsupported.
30
+
// See https://docs.gradle.org/8.14.3/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
31
+
32
+
// FAILURE: Build failed with an exception.
33
+
//
34
+
//* What went wrong:
35
+
//Execution failed for task ':rewriteDryRun'.
36
+
//> java.lang.RuntimeException: Applying recipes would make changes. See logs for more details.
0 commit comments