Skip to content

Commit 31aa59b

Browse files
committed
doc: add documentation for new api
Refs: #794, #2311
1 parent 8dde43f commit 31aa59b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

plugin-gradle/CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1010
### Fixed
1111
* You can now use `removeUnusedImports` and `googleJavaFormat` at the same time again. (fixes [#2159](https://github.com/diffplug/spotless/issues/2159))
1212
* The default list of type annotations used by `formatAnnotations` now includes Jakarta Validation's `Valid` and constraints validations (fixes [#2334](https://github.com/diffplug/spotless/issues/2334))
13+
* The API for generic indentation has been clarified. We deprecated `indentWithSpaces` and `indentWithTabs` in favor of `leadingTabsToSpaces` and `leadingSpacesToTabs`. ([#794](https://github.com/diffplug/spotless/issues/794), [#2350](https://github.com/diffplug/spotless/pull/2350))
1314

1415
## [7.0.0.BETA4] - 2024-10-24
1516
### Added

plugin-gradle/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ spotless {
109109
110110
// define the steps to apply to those files
111111
trimTrailingWhitespace()
112-
indentWithTabs() // or spaces. Takes an integer argument if you don't like 4
112+
leadingSpacesToTabs() // or leadingTabsToSpaces. Takes an integer argument if you don't like 4
113113
endWithNewline()
114114
}
115115
java {

0 commit comments

Comments
 (0)