Skip to content

Commit 17b151f

Browse files
committed
Bump Ktlint to 1.7.0
1 parent fb7d3c1 commit 17b151f

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1515
* Bump default `gson` version to latest `2.11.0` -> `2.13.1`. ([#2414](https://github.com/diffplug/spotless/pull/2414))
1616
* Bump default `jackson` version to latest `2.18.1` -> `2.19.1`. ([#2352](https://github.com/diffplug/spotless/pull/2352))
1717
* Bump default `gherkin-utils` version to latest `9.0.0` -> `9.2.0`. ([#2408](https://github.com/diffplug/spotless/pull/2408))
18+
* Bump default `ktlint` version to latest `1.5.0` -> `1.7.0`. ([#2555](https://github.com/diffplug/spotless/pull/2555))
1819

1920
## [3.2.0] - 2025-07-07
2021
### Added

lib/src/main/java/com/diffplug/spotless/kotlin/KtLintStep.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2024 DiffPlug
2+
* Copyright 2016-2025 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,14 +36,13 @@
3636
/** Wraps up <a href="https://github.com/pinterest/ktlint">ktlint</a> as a FormatterStep. */
3737
public class KtLintStep implements Serializable {
3838
private static final long serialVersionUID = 1L;
39-
private static final String DEFAULT_VERSION = "1.5.0";
39+
private static final String DEFAULT_VERSION = "1.7.0";
4040
private static final String NAME = "ktlint";
4141
private static final String MAVEN_COORDINATE_0_DOT = "com.pinterest:ktlint:";
4242
private static final String MAVEN_COORDINATE_1_DOT = "com.pinterest.ktlint:ktlint-cli:";
4343

4444
private final JarState.Promised jarState;
45-
@Nullable
46-
private final FileSignature.Promised config;
45+
@Nullable private final FileSignature.Promised config;
4746
private final Map<String, Object> editorConfigOverride;
4847
private final String version;
4948

@@ -95,8 +94,7 @@ private static final class State implements Serializable {
9594
private final JarState jarState;
9695
private final TreeMap<String, Object> editorConfigOverride;
9796
private final String version;
98-
@Nullable
99-
private final FileSignature editorConfigPath;
97+
@Nullable private final FileSignature editorConfigPath;
10098

10199
State(String version,
102100
JarState jarState,

plugin-gradle/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
88
* Bump default `gson` version to latest `2.11.0` -> `2.13.1`. ([#2414](https://github.com/diffplug/spotless/pull/2414))
99
* Bump default `jackson` version to latest `2.18.1` -> `2.19.1`. ([#2352](https://github.com/diffplug/spotless/pull/2352))
1010
* Bump default `gherkin-utils` version to latest `9.0.0` -> `9.2.0`. ([#2408](https://github.com/diffplug/spotless/pull/2408))
11+
* Bump default `ktlint` version to latest `1.5.0` -> `1.7.0`. ([#2555](https://github.com/diffplug/spotless/pull/2555))
1112

1213
## [7.1.0] - 2025-07-07
1314
### Added

plugin-maven/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
88
* Bump default `gson` version to latest `2.11.0` -> `2.13.1`. ([#2414](https://github.com/diffplug/spotless/pull/2414))
99
* Bump default `jackson` version to latest `2.18.1` -> `2.19.1`. ([#2352](https://github.com/diffplug/spotless/pull/2352))
1010
* Bump default `gherkin-utils` version to latest `9.0.0` -> `9.2.0`. ([#2408](https://github.com/diffplug/spotless/pull/2408))
11+
* Bump default `ktlint` version to latest `1.5.0` -> `1.7.0`. ([#2555](https://github.com/diffplug/spotless/pull/2555))
1112

1213
## [2.45.0] - 2025-07-07
1314
### Added

0 commit comments

Comments
 (0)