From bd018b4824176696da7dbf20dafc3971dee4e545 Mon Sep 17 00:00:00 2001 From: Nariman Abdullin Date: Fri, 10 Nov 2023 17:24:46 +0300 Subject: [PATCH] fixed detektAll --- .../buildutils/detekt-convention-configuration.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/plugins/src/main/kotlin/com/saveourtool/diktat/buildutils/detekt-convention-configuration.gradle.kts b/gradle/plugins/src/main/kotlin/com/saveourtool/diktat/buildutils/detekt-convention-configuration.gradle.kts index b62eedc062..5052700c2e 100644 --- a/gradle/plugins/src/main/kotlin/com/saveourtool/diktat/buildutils/detekt-convention-configuration.gradle.kts +++ b/gradle/plugins/src/main/kotlin/com/saveourtool/diktat/buildutils/detekt-convention-configuration.gradle.kts @@ -8,7 +8,7 @@ plugins { } detekt { - config = rootProject.files("detekt-config.yml") + config.setFrom(rootProject.files("detekt-config.yml")) basePath = rootDir.canonicalPath buildUponDefaultConfig = true }