From 23b1cb4baa1139fd7d7b5933d47d20f9705d87b0 Mon Sep 17 00:00:00 2001 From: pvannierop Date: Wed, 11 Sep 2024 09:35:49 +0200 Subject: [PATCH] Fix ktlint versions used for default slf4j version --- .../kotlin/org/radarbase/gradle/plugin/RadarKotlinPlugin.kt | 2 +- .../src/main/kotlin/org/radarbase/gradle/plugin/Versions.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/radar-commons-gradle/src/main/kotlin/org/radarbase/gradle/plugin/RadarKotlinPlugin.kt b/radar-commons-gradle/src/main/kotlin/org/radarbase/gradle/plugin/RadarKotlinPlugin.kt index b3c4f059..813a6951 100644 --- a/radar-commons-gradle/src/main/kotlin/org/radarbase/gradle/plugin/RadarKotlinPlugin.kt +++ b/radar-commons-gradle/src/main/kotlin/org/radarbase/gradle/plugin/RadarKotlinPlugin.kt @@ -52,7 +52,7 @@ class RadarKotlinPlugin : Plugin { kotlinApiVersion.convention("") junitVersion.convention(Versions.junit) ktlintVersion.convention(Versions.ktlint) - slf4jVersion.convention(Versions.ktlint) + slf4jVersion.convention(Versions.slf4j) } apply(plugin = "kotlin") diff --git a/radar-commons-gradle/src/main/kotlin/org/radarbase/gradle/plugin/Versions.kt b/radar-commons-gradle/src/main/kotlin/org/radarbase/gradle/plugin/Versions.kt index fb7e4bb2..40ae0207 100644 --- a/radar-commons-gradle/src/main/kotlin/org/radarbase/gradle/plugin/Versions.kt +++ b/radar-commons-gradle/src/main/kotlin/org/radarbase/gradle/plugin/Versions.kt @@ -6,4 +6,5 @@ object Versions { const val ktlint = "0.50.0" const val java = 11 const val junit = "5.10.0" + const val slf4j = "2.0.16" }