From ebf22eb0e3992df95509347cab8a6c51e71cd0a4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:45:44 +0000 Subject: [PATCH 1/2] Update Ktlint to v0.50.0 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 79d3473cd5..3b1db45d19 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ kotlin = "1.9.10" kotlin-ksp = "1.9.10-1.0.13" serialization = "1.6.0" -ktlint = "0.49.1" +ktlint = "0.50.0" junit = "5.10.0" junit-platfrom = "1.10.0" guava = "32.1.2-jre" From 19e17498ca2f67c68605dc2db15961aecb97c190 Mon Sep 17 00:00:00 2001 From: Nariman Abdullin Date: Tue, 29 Aug 2023 12:19:02 +0300 Subject: [PATCH 2/2] supported artifact names changes --- diktat-ktlint-engine/build.gradle.kts | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/diktat-ktlint-engine/build.gradle.kts b/diktat-ktlint-engine/build.gradle.kts index fbf4d7d870..b9636a02c1 100644 --- a/diktat-ktlint-engine/build.gradle.kts +++ b/diktat-ktlint-engine/build.gradle.kts @@ -11,9 +11,9 @@ project.description = "This module builds diktat-api implementation using ktlint dependencies { api(projects.diktatApi) implementation(projects.diktatCommon) - implementation(libs.ktlint.core) implementation(libs.ktlint.cli.reporter) implementation(libs.ktlint.rule.engine) + implementation(libs.ktlint.rule.engine.core) implementation(libs.ktlint.cli.reporter.baseline) implementation(libs.ktlint.cli.reporter.checkstyle) implementation(libs.ktlint.cli.reporter.html) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3b1db45d19..36df49a11a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -109,8 +109,8 @@ kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-c kotlin-multiplatform-diff = { module = "io.github.petertrr:kotlin-multiplatform-diff", version.ref = "kotlin-multiplatform-diff" } # ktlint & detekt -ktlint-core = { module = "com.pinterest.ktlint:ktlint-core", version.ref = "ktlint" } ktlint-rule-engine = { module = "com.pinterest.ktlint:ktlint-rule-engine", version.ref = "ktlint" } +ktlint-rule-engine-core = { module = "com.pinterest.ktlint:ktlint-rule-engine-core", version.ref = "ktlint" } ktlint-logger = { module = "com.pinterest.ktlint:ktlint-logger", version.ref = "ktlint" } ktlint-cli-reporter = { module = "com.pinterest.ktlint:ktlint-cli-reporter", version.ref = "ktlint" } ktlint-cli-ruleset-core = { module = "com.pinterest.ktlint:ktlint-cli-ruleset-core", version.ref = "ktlint" }