File tree 2 files changed +3
-0
lines changed
src/main/java/com/diffplug/gradle/spotless
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
5
5
## [ Unreleased]
6
6
### Changes
7
7
* Bump default ` ktlint ` version to latest ` 1.0.0 ` -> ` 1.0.1 ` . ([ #1855 ] ( https://github.com/diffplug/spotless/pull/1855 ) )
8
+ ### Fixed
9
+ * Fix ` GoogleJavaFormatConfig.reorderImports ` not working. ([ #1872 ] ( https://github.com/diffplug/spotless/issues/1872 ) )
8
10
9
11
## [ 6.22.0] - 2023-09-28
10
12
### Added
Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ public GoogleJavaFormatConfig reflowLongStrings(boolean reflowLongStrings) {
211
211
212
212
public GoogleJavaFormatConfig reorderImports (boolean reorderImports ) {
213
213
this .reorderImports = reorderImports ;
214
+ replaceStep (createStep ());
214
215
return this ;
215
216
}
216
217
You can’t perform that action at this time.
0 commit comments