Skip to content

Commit de84697

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

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

plugin-gradle/CHANGES.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).
44

55
## [Unreleased]
6+
### Changed
7+
* Clarify API for generic indentation. 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))
8+
69

710
## [7.0.0.BETA2] - 2024-08-25
811
### Changed

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)