hey, I know this question was asked many times, bu...
# detekt
a
hey, I know this question was asked many times, but I can not still find clear answer. How to properly setup Detekt for KMP project? Currently I did in project `build.gradle.kts`:
Copy code
tasks.withType<io.gitlab.arturbosch.detekt.Detekt> detekt@{
    config.setFrom(files("$rootDir/detekt-config.yml"))
    baseline.set(file("$rootDir/detekt-baseline.xml"))
    setSource(files(rootDir))
    include("**/*.kt")
    exclude("**/*.kts")
    exclude("**/resources/**")
    exclude("**/build/**")
}
But this seems to be really slow, on CI it runs around 20mins, and project isn't big. Any ideas? Before CI was running around 5mins