From 3412497e243ff8ca385bcf571204779641ce84b2 Mon Sep 17 00:00:00 2001 From: Goooler Date: Tue, 11 Jun 2024 11:50:39 +0800 Subject: [PATCH] Bump Ktlint to 1.3.0 https://github.com/pinterest/ktlint/releases/tag/1.3.0 --- CHANGES.md | 2 ++ lib/src/main/java/com/diffplug/spotless/kotlin/KtLintStep.java | 2 +- plugin-gradle/CHANGES.md | 2 ++ plugin-maven/CHANGES.md | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 40e3fa9289..81e67e1416 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,6 +10,8 @@ This document is intended for Spotless developers. We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`). ## [Unreleased] +### Changes +* Bump default `ktlint` version to latest `1.2.1` -> `1.3.0`. ([#2165](https://github.com/diffplug/spotless/pull/2165)) ## [3.0.0.BETA1] - 2024-06-04 ### Added diff --git a/lib/src/main/java/com/diffplug/spotless/kotlin/KtLintStep.java b/lib/src/main/java/com/diffplug/spotless/kotlin/KtLintStep.java index 5728eefa66..991d082257 100644 --- a/lib/src/main/java/com/diffplug/spotless/kotlin/KtLintStep.java +++ b/lib/src/main/java/com/diffplug/spotless/kotlin/KtLintStep.java @@ -36,7 +36,7 @@ /** Wraps up ktlint as a FormatterStep. */ public class KtLintStep implements Serializable { private static final long serialVersionUID = 1L; - private static final String DEFAULT_VERSION = "1.2.1"; + private static final String DEFAULT_VERSION = "1.3.0"; private static final String NAME = "ktlint"; private static final String MAVEN_COORDINATE_0_DOT = "com.pinterest:ktlint:"; private static final String MAVEN_COORDINATE_1_DOT = "com.pinterest.ktlint:ktlint-cli:"; diff --git a/plugin-gradle/CHANGES.md b/plugin-gradle/CHANGES.md index 7ae0258d6f..b09160fd73 100644 --- a/plugin-gradle/CHANGES.md +++ b/plugin-gradle/CHANGES.md @@ -3,6 +3,8 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`). ## [Unreleased] +### Changes +* Bump default `ktlint` version to latest `1.2.1` -> `1.3.0`. ([#2165](https://github.com/diffplug/spotless/pull/2165)) ## [7.0.0.BETA1] - 2024-06-04 ### Added diff --git a/plugin-maven/CHANGES.md b/plugin-maven/CHANGES.md index e1d6cd7631..886dfdf753 100644 --- a/plugin-maven/CHANGES.md +++ b/plugin-maven/CHANGES.md @@ -3,6 +3,8 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`). ## [Unreleased] +### Changes +* Bump default `ktlint` version to latest `1.2.1` -> `1.3.0`. ([#2165](https://github.com/diffplug/spotless/pull/2165)) ## [2.44.0.BETA1] - 2024-06-04 ### Added