From 2e98f76b21962190e357f1d2fdb49b75699977b7 Mon Sep 17 00:00:00 2001 From: Dmitrii Kostyrev Date: Thu, 19 Dec 2024 16:28:44 +0000 Subject: [PATCH] Add kotlin compiler explicitly to detekt rules testImplementation. --- rules/detekt/build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/detekt/build.gradle.kts b/rules/detekt/build.gradle.kts index dba8d6c2..67bafb70 100644 --- a/rules/detekt/build.gradle.kts +++ b/rules/detekt/build.gradle.kts @@ -24,7 +24,7 @@ tasks.shadowJar { } dependencies { - compileOnlyOrApi(libs.detekt.core) + api(libs.detekt.core) compileOnlyOrApi(projects.rules.common) testImplementation(libs.detekt.test) @@ -34,4 +34,5 @@ dependencies { testImplementation(libs.reflections) testImplementation(libs.kaml) testImplementation(libs.konsist) + testImplementation(libs.kotlin.compiler) }