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
This PR fixes the `rewriteDryRun` command, which was failing due to missing `javax.annotation` dependencies during compilation of "glue" source sets and a validation error caused by a non-existent OpenRewrite recipe. It also bumps the default `ktfmt` version to `0.61`.
**Changes:**
- Updated default `ktfmt` version from `0.59` to `0.61` in `KtfmtStep.java`.
- Added `com.google.code.findbugs:jsr305` to `compileOnly` for several glue source sets in `lib/build.gradle ktfmt`, `ktlint`, `palantirJavaFormat`, `scalafmt`, `sortPom`, `zjsonPatch` to resolve missing `javax.annotation.NonNull` and `@Nullable` classes.
- Removed the non-existent OpenRewrite recipe `org.openrewrite.java.migrate.util.JavaLangAPIs` from `rewrite.yml` to fix validation failures.
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
@@ -13,6 +13,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
13
13
### Added
14
14
- Add the ability to specify a wildcard version (`*`) for external formatter executables. ([#2757](https://github.com/diffplug/spotless/issues/2757))
15
15
### Changes
16
+
* Bump default `ktfmt` version to latest `0.59` -> `0.61`. ([2804](https://github.com/diffplug/spotless/pull/2804))
16
17
* Bump default `ktlint` version to latest `1.7.1` -> `1.8.0`. ([2763](https://github.com/diffplug/spotless/pull/2763))
17
18
* Bump default `gherkin-utils` version to latest `9.2.0` -> `10.0.0`. ([#2619](https://github.com/diffplug/spotless/pull/2619))
0 commit comments