If I wanted to run detekt tasks on all KMP source ...
# detekt
k
If I wanted to run detekt tasks on all KMP source sets (in my case common, JVM and Android), is this the right way to do it?
Copy code
gradle detekt detektMetadataCommonMain detektDebug detektAndroidDebug --continue
e
https://github.com/detekt/detekt/issues/3838 might result in a
detektAll
task in the future; you can do that now with
Copy code
tasks.register("detektAll") {
    dependsOn(tasks.withType<Detekt>())
}
in
build.gradle.kts
for now
e
If you want to run detekt with type resolution for the JVM you should also add
detektJvmMain