Skip to content

Commit 3b7f7f5

Browse files
committed
Ktlint 1.7.0
1 parent 2c75f43 commit 3b7f7f5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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,

0 commit comments

Comments
 (0)