Added detekt baseline.
This commit is contained in:
parent
6415eb5d16
commit
c85749f754
2 changed files with 13 additions and 2 deletions
|
@ -64,7 +64,10 @@ tasks {
|
|||
detekt {
|
||||
profile("main", Action {
|
||||
input = "src/main/kotlin"
|
||||
filters = ".*/resources/.*"
|
||||
filters = ".*/resources/.*,.*/build/.*"
|
||||
output = "$buildDir/reports/detekt-reports"
|
||||
outputName = "detekt-report"
|
||||
baseline = "detekt-baseline.xml"
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -94,4 +97,4 @@ pluginBundle {
|
|||
groupId = project.group.toString()
|
||||
artifactId = project.name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue