Updated on 2026-08-14
This commit is contained in:
parent
e5876470de
commit
91c52c039c
17 changed files with 398 additions and 13 deletions
|
|
@ -4,19 +4,23 @@ plugins {
|
|||
id("io.gitlab.arturbosch.detekt")
|
||||
}
|
||||
|
||||
tasks.withType<Detekt> {
|
||||
detekt {
|
||||
parallel = true
|
||||
ignoreFailures = false
|
||||
autoCorrect = true
|
||||
buildUponDefaultConfig = true
|
||||
|
||||
config.setFrom(rootProject.files("config/detekt/detekt.yml"))
|
||||
}
|
||||
|
||||
tasks.withType<Detekt> {
|
||||
include("**/*.kt")
|
||||
exclude("**/resources/**", "**/build/**")
|
||||
reports {
|
||||
sarif {
|
||||
required.set(false)
|
||||
}
|
||||
txt {
|
||||
required.set(true)
|
||||
outputLocation.set(rootProject.file("build/reports/detekt.txt"))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue