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 79d3473cd5..36df49a11a 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" @@ -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" }