From 62b5235b2b0aaf4d93f03e752388747195755980 Mon Sep 17 00:00:00 2001 From: Danilo Pianini Date: Mon, 9 Dec 2024 00:52:14 +0100 Subject: [PATCH] build: drop usage of deprecated `KOTLIN_VERSION` --- build.gradle.kts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 2258e5eb..acb8eab4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,6 @@ @file:Suppress("UnstableApiUsage") import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask -import org.jetbrains.kotlin.config.KotlinCompilerVersion.VERSION as KOTLIN_VERSION @Suppress("DSL_SCOPE_VIOLATION") plugins { @@ -54,16 +53,6 @@ dependencies { testImplementation(libs.bundles.kotlin.testing) } -// Enforce Kotlin version coherence -configurations.matching { it.name != "detekt" }.all { - resolutionStrategy.eachDependency { - if (requested.group == "org.jetbrains.kotlin" && requested.name.startsWith("kotlin")) { - useVersion(KOTLIN_VERSION) - because("All Kotlin modules should use the same version, and compiler uses $KOTLIN_VERSION") - } - } -} - sourceSets { main { resources {