Merge pull request #128 from TouchInstinct/fix/update_detekt
update detekt config to new version (after RC 15)
This commit is contained in:
commit
cd61ff3398
|
|
@ -29,11 +29,8 @@ cpd {
|
|||
}
|
||||
|
||||
detekt {
|
||||
input = files("${rootDir}")
|
||||
config = files("$buildScriptsDir/kotlin/detekt-config.yml")
|
||||
|
||||
// TODO add excludes from rootProject.extensions.findByName("staticAnalysisExcludes")
|
||||
filters = ".*src/test.*,.*/resources/.*,.*/tmp/.*,.*/build/.*"
|
||||
parallel = true
|
||||
|
||||
reports {
|
||||
html {
|
||||
|
|
@ -45,6 +42,7 @@ detekt {
|
|||
destination = file("${project.buildDir}/reports/kotlin-detekt.xml")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
import org.apache.tools.ant.taskdefs.condition.Os
|
||||
|
|
@ -351,7 +349,10 @@ getCheckstyleTask = { sources ->
|
|||
return task.name
|
||||
}
|
||||
|
||||
getKotlinDetektTask = { "detekt" }
|
||||
getKotlinDetektTask = {
|
||||
// TODO add excludes from rootProject.extensions.findByName("staticAnalysisExcludes")
|
||||
"detekt"
|
||||
}
|
||||
|
||||
task optimizePng {
|
||||
doFirst {
|
||||
|
|
|
|||
Loading…
Reference in New Issue