Skip to content

Commit 71f6559

Browse files
committed
doc: add documentation for new api
Refs: #794, #2311
1 parent a7d9ee7 commit 71f6559

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: plugin-gradle/CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1616
* Bump default `gson` version to latest `2.10.1` -> `2.11.0`. ([#2128](https://github.com/diffplug/spotless/pull/2128))
1717
* Bump default `cleanthat` version to latest `2.20` -> `2.21`. ([#2210](https://github.com/diffplug/spotless/pull/2210))
1818
* Bump default `google-java-format` version to latest `1.22.0` -> `1.23.0`. ([#2212](https://github.com/diffplug/spotless/pull/2212))
19+
* Clarify api for generic indentation. Deprecated `indentWithSpaces` and `indentWithTabs` in favor of `leadingTabsToSpaces` and `leadingSpacesToTabs`. ([#794](https://github.com/diffplug/spotless/issues/794), [#2346](https://github.com/diffplug/spotless/pull/2346))
1920
### Fixed
2021
* Fix compatibility issue introduced by `ktfmt` `0.51`. ([#2172](https://github.com/diffplug/spotless/issues/2172))
2122
### Added

Diff for: plugin-gradle/README.md

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

0 commit comments

Comments
 (0)