From 27d125b514de9bced73dd3d1be5ca807486f2e86 Mon Sep 17 00:00:00 2001 From: Osip Fatkullin Date: Thu, 12 Dec 2024 09:34:03 +0100 Subject: [PATCH] Update kotlinter to 5.0.0 --- buildSrc/src/main/kotlin/Codestyle.kt | 2 +- gradle/libs.versions.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buildSrc/src/main/kotlin/Codestyle.kt b/buildSrc/src/main/kotlin/Codestyle.kt index 2966b9bcbbd..663b9030dc3 100644 --- a/buildSrc/src/main/kotlin/Codestyle.kt +++ b/buildSrc/src/main/kotlin/Codestyle.kt @@ -10,7 +10,7 @@ fun Project.configureCodestyle() { apply(plugin = "org.jmailen.kotlinter") kotlinter.apply { - ignoreFailures = true + ignoreLintFailures = true reporters = arrayOf("checkstyle", "plain") } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7284914be66..bde2bc35b40 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -10,7 +10,7 @@ serialization = "1.7.3" binaryCompatibilityValidator = "0.16.3" dokka = "1.9.20" kover = "0.8.3" -ktlint = "4.5.0" +kotlinter = "5.0.0" kotlinx-browser = "0.2" # Used for test server in buildSrc @@ -227,7 +227,7 @@ tomlj = { module = "org.tomlj:tomlj", version.ref = "tomlj" } develocity = { module = "com.gradle:develocity-gradle-plugin", version.ref = "develocity" } develocity-commonCustomUserData = { module = "com.gradle:common-custom-user-data-gradle-plugin", version.ref = "develocity-commonCustomUserData" } -kotlinter = { module = "org.jmailen.gradle:kotlinter-gradle", version.ref = "ktlint" } +kotlinter = { module = "org.jmailen.gradle:kotlinter-gradle", version.ref = "kotlinter" } gradleDoctor = { module = "com.osacky.doctor:doctor-plugin", version.ref = "gradleDoctor" } [plugins]