File tree 2 files changed +3
-1
lines changed
src/main/java/com/diffplug/gradle/spotless
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
5
5
## [ Unreleased]
6
6
### Fixed
7
7
* Ignore system git config when running tests ([ #1990 ] ( https://github.com/diffplug/spotless/issues/1990 ) )
8
+ * Fixed memory leak introduced in 6.21.0 ([ #2067 ] ( https://github.com/diffplug/spotless/issues/2067 ) )
8
9
### Changes
9
10
* Bump default ` ktfmt ` version to latest ` 0.46 ` -> ` 0.47 ` . ([ #2045 ] ( https://github.com/diffplug/spotless/pull/2045 ) )
10
11
* Bump default ` sortpom ` version to latest ` 3.2.1 ` -> ` 3.4.0 ` . ([ #2049 ] ( https://github.com/diffplug/spotless/pull/2049 ) )
Original file line number Diff line number Diff line change @@ -1067,8 +1067,9 @@ protected void setupTask(SpotlessTask task) {
1067
1067
}
1068
1068
task .setSteps (steps );
1069
1069
Directory projectDir = getProject ().getLayout ().getProjectDirectory ();
1070
+ LineEnding lineEndings = getLineEndings ();
1070
1071
task .setLineEndingsPolicy (
1071
- getProject ().provider (() -> getLineEndings () .createPolicy (projectDir .getAsFile (), () -> totalTarget )));
1072
+ getProject ().provider (() -> lineEndings .createPolicy (projectDir .getAsFile (), () -> totalTarget )));
1072
1073
spotless .getRegisterDependenciesTask ().hookSubprojectTask (task );
1073
1074
task .setupRatchet (getRatchetFrom () != null ? getRatchetFrom () : "" );
1074
1075
}
You can’t perform that action at this time.
0 commit comments