From 4081bf26a3b28ec668da6aca6c0ed1d025705633 Mon Sep 17 00:00:00 2001 From: Marcel Richter Date: Wed, 15 Nov 2023 02:43:49 +0100 Subject: [PATCH] Add some docs --- buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts b/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts index 1828a89..fe6ca97 100644 --- a/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts @@ -56,8 +56,16 @@ kotlin { detekt { ignoreFailures = false + + // Applies the config files on top of detekt's default config file. `false` by default. buildUponDefaultConfig = true + + // Define the detekt configuration(s) you want to use. + // Defaults to the default detekt configuration. config.setFrom("$rootDir/detekt.yml") + + // Builds the AST in parallel. Rules are always executed in parallel. + // Can lead to speedups in larger projects. `false` by default. parallel = true }