Skip to content

Commit

Permalink
doc: add documentation for new api
Browse files Browse the repository at this point in the history
Refs: #794, #2311
  • Loading branch information
simschla committed Nov 28, 2024
1 parent a7d9ee7 commit de84697
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions plugin-gradle/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).

## [Unreleased]
### Changed
* 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))


## [7.0.0.BETA2] - 2024-08-25
### Changed
Expand Down
2 changes: 1 addition & 1 deletion plugin-gradle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ spotless {
// define the steps to apply to those files
trimTrailingWhitespace()
indentWithTabs() // or spaces. Takes an integer argument if you don't like 4
leadingSpacesToTabs() // or leadingTabsToSpaces. Takes an integer argument if you don't like 4
endWithNewline()
}
java {
Expand Down

0 comments on commit de84697

Please sign in to comment.