diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ecf87f28..195e473f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ kotlin = "1.8.10" okio = "3.3.0" serialization = "1.5.0" -diktat = "1.2.4.1" +diktat = "1.2.5" kotlinx-cli = "0.3.5" kotlinx-datetime = "0.4.0" kotlinx-coroutines = "1.6.3-native-mt" diff --git a/save-core/build.gradle.kts b/save-core/build.gradle.kts index 91ef71a4..a57205cb 100644 --- a/save-core/build.gradle.kts +++ b/save-core/build.gradle.kts @@ -8,7 +8,7 @@ import java.nio.file.StandardCopyOption plugins { id("com.saveourtool.save.buildutils.kotlin-library") - id("de.undercouch.download") version "5.3.1" + id("de.undercouch.download") version "5.4.0" } kotlin { diff --git a/save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/utils/Warning.kt b/save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/utils/Warning.kt index c5180c56..249df161 100644 --- a/save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/utils/Warning.kt +++ b/save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/utils/Warning.kt @@ -262,6 +262,7 @@ internal fun String.getLineNumberAndMessage( * @param lineGroupIdx index of capture group for line number * @return line number */ +@Suppress("WRONG_OVERLOADING_FUNCTION_ARGUMENTS") internal fun String.getLineNumber(warningRegex: Regex, lineGroupIdx: Long?, ): Int? {