From c5a17062c8109f2dfec7d32770ef0caa4ce8adcf Mon Sep 17 00:00:00 2001 From: Colin Bartolome Date: Mon, 9 Dec 2024 10:05:41 -0800 Subject: [PATCH] Updated default KtLint version to 1.5.0 --- CHANGELOG.md | 4 +++- plugin/build.gradle.kts | 2 +- .../gradle/ktlint/KtLintSupportedVersionsTest.kt | 7 ++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac78f4c6..db788724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/). ## [Unreleased] +- Updated default KtLint version to 1.5.0 [#809](https://github.com/JLLeitschuh/ktlint-gradle/issues/809) + ## [12.1.2] - 2024-11-25 ### Changed @@ -18,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/). - Bump commons-io:commons-io from 2.8.0 to 2.17.0 [#802](https://github.com/JLLeitschuh/ktlint-gradle/pull/802) - Update version for jgit to 5.13.3.202401111512-r [#766](https://github.com/JLLeitschuh/ktlint-gradle/pull/766) - builds: remove specific lintian version, as latest ubuntu is now a new version - [#767](https://github.com/JLLeitschuh/ktlint-gradle/pull/767) + [#767](https://github.com/JLLeitschuh/ktlint-gradle/pull/767) - docs: add Version Catalog setup instructions in README [#770](https://github.com/JLLeitschuh/ktlint-gradle/pull/770) [#767](https://github.com/JLLeitschuh/ktlint-gradle/pull/767) diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index edad8b1d..7b44c020 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -31,7 +31,7 @@ java { } ktlint { - version = "1.1.0" + version = "1.5.0" } tasks.withType { diff --git a/plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/KtLintSupportedVersionsTest.kt b/plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/KtLintSupportedVersionsTest.kt index 384c3224..240f7fa4 100644 --- a/plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/KtLintSupportedVersionsTest.kt +++ b/plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/KtLintSupportedVersionsTest.kt @@ -180,7 +180,12 @@ class KtLintSupportedVersionsTest : AbstractPluginTest() { "0.50.0", "1.0.1", "1.1.1", - "1.2.1" + "1.2.1", + "1.3.0", + "1.3.1", + "1.4.0", + "1.4.1", + "1.5.0" ) override fun provideArguments(