Skip to content

Commit 3a55d47

Browse files
author
Vincent Potucek
committed
Add rewrite support
1 parent b8ba6fd commit 3a55d47

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1616
* Adds support for worktrees (fixes [#1765](https://github.com/diffplug/spotless/issues/1765))
1717
* Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](https://github.com/diffplug/spotless/pull/2345))
1818
* Bump default `ktlint` version to latest `1.5.0` -> `1.7.1`. ([#2555](https://github.com/diffplug/spotless/pull/2555))
19-
* PoC: Add `rewrite` support for `errorprone.refasterrules` ([#2576](https://github.com/diffplug/spotless/pull/2576))
19+
* Add `rewrite` support ([#2588](https://github.com/diffplug/spotless/pull/2588))
2020

2121
## [3.3.1] - 2025-07-21
2222
### Fixed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ equoIde {
1414
welcome().openUrl('https://github.com/diffplug/spotless/blob/main/CONTRIBUTING.md')
1515
gradleBuildship().autoImport('.')
1616
}
17+
18+
dependencies {
19+
rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:latest.release"))
20+
}

gradle/rewrite.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,3 @@ rewrite {
1616
exportDatatables = true
1717
failOnDryRunResults = true
1818
}
19-
20-
dependencies {
21-
rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:latest.release"))
22-
}

0 commit comments

Comments
 (0)