From 00482a0cbad36a65d6b62ae5c630a186e141653b Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Sat, 18 May 2024 14:39:56 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20detekt=E3=81=AE=E5=AE=9F=E8=A1=8C?= =?UTF-8?q?=E6=99=82=E3=81=A0=E3=81=91=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=82=92=E5=A4=89=E6=9B=B4=E3=81=99=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hideout-core/build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hideout-core/build.gradle.kts b/hideout-core/build.gradle.kts index 5afd46a5..99253d0d 100644 --- a/hideout-core/build.gradle.kts +++ b/hideout-core/build.gradle.kts @@ -260,6 +260,14 @@ detekt { autoCorrect = true } +configurations.matching { it.name == "detekt" }.all { + resolutionStrategy.eachDependency { + if (requested.group == "org.jetbrains.kotlin") { + useVersion(io.gitlab.arturbosch.detekt.getSupportedKotlinVersion()) + } + } +} + tasks.withType { exclude("**/generated/**") doFirst {