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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
8
detekt-baseline.xml
Normal file
8
detekt-baseline.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" ?>
|
||||
<SmellBaseline>
|
||||
<Blacklist timestamp="1531335731933"></Blacklist>
|
||||
<Whitelist timestamp="1531335731933">
|
||||
<ID>MaxLineLength:SemverPlugin.kt$net.thauvin.erik.gradle.semver.SemverPlugin.kt</ID>
|
||||
<ID>NestedBlockDepth:SemverPlugin.kt$SemverPlugin$private fun afterEvaluate(project: Project)</ID>
|
||||
</Whitelist>
|
||||
</SmellBaseline>
|
Loading…
Add table
Add a link
Reference in a new issue