You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.md
+2
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ This document is intended for Spotless developers.
10
10
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
11
11
12
12
## [Unreleased]
13
+
### Fixed
14
+
*`PaddedCell.DirtyState::writeCanonicalTo(File)` can now create a new file if necessary (previously required to overwrite an existing file) ([#576](https://github.com/diffplug/spotless/pull/576)).
Copy file name to clipboardExpand all lines: plugin-gradle/CHANGES.md
+10
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,16 @@
3
3
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).
4
4
5
5
## [Unreleased]
6
+
**TLDR: This version improves performance and adds support for the local Gradle Build Cache. You will not need to make any changes in your buildscript.** It is a breaking change only for a few users who have built *other* plugins on top of this one.
7
+
8
+
### Added
9
+
* Support for the gradle build cache. ([#576](https://github.com/diffplug/spotless/pull/576))
10
+
* The local cache will work great, but the remote cache will always miss until [#566](https://github.com/diffplug/spotless/issues/566) is resolved.
11
+
### Removed
12
+
* (Power users only) `void SpotlessTask::setCheck()` and `setApply()` have been removed. ([#576](https://github.com/diffplug/spotless/pull/576))
13
+
* Previously, the `check` and `apply` tasks were just marker tasks, and they called `setCheck` and `setApply` on the "worker" task. Now `check` and `apply` are real tasks in their own right, so the marker-task kludge is no longer necessary.
14
+
### Changed
15
+
* (Power users only) `SpotlessTask FormatExtension::createIndependentTask` has been removed, and replaced with `SpotlessApply::createIndependentApplyTask`. ([#576](https://github.com/diffplug/spotless/pull/576))
* Creates an independent {@link SpotlessTask} for (very) unusual circumstances.
616
+
* Creates an independent {@link SpotlessApply} for (very) unusual circumstances.
617
617
*
618
618
* Most users will not want this method. In the rare case that you want to create
619
-
* a SpotlessTask which is independent of the normal Spotless machinery, this will
619
+
* a `SpotlessApply` which is independent of the normal Spotless machinery, this will
620
620
* let you do that.
621
621
*
622
-
* The returned task will have no dependencies on any other task.
623
-
* You need to call {@link SpotlessTask#setApply()} and/or {@link SpotlessTask#setCheck()}
624
-
* on the return value, otherwise you will get a runtime error when the task tries to run.
622
+
* The returned task will not be hooked up to the global `spotlessApply`, and there will be no corresponding `check` task.
625
623
*
626
624
* NOTE: does not respect the rarely-used [`spotlessFiles` property](https://github.com/diffplug/spotless/blob/b7f8c551a97dcb92cc4b0ee665448da5013b30a3/plugin-gradle/README.md#can-i-apply-spotless-to-specific-files).
0 commit comments