sanogueralorenzo
12/03/2019, 1:22 AMdetektAll
a centric baseline is ignored. I switched to build.gradle.kts
to ensure that wasn't the issue and was checking detekt project and it is set the same way (and also have the same path)
baseline.set(file("$rootDir/config/detekt/baseline.xml"))
Was there any change regarding baseline? I don't seem to find it looking through 1.2.0 and 1.2.1detektAll
val detektAll by tasks.registering(io.gitlab.arturbosch.detekt.Detekt::class) {
description = "Runs over whole code base without the starting overhead for each module."
autoCorrect = true
setSource(files(projectDir))
include("**/*.kt")
include("**/*.kts")
exclude("**/resources/**")
exclude("**/build/**")
exclude("**/buildSrc/**")
exclude("**/test/**/*.kt")
config.setFrom(files("$rootDir/config/detekt/detekt.yml"))
baseline.set(file("$rootDir/config/detekt/baseline.xml"))
reports {
xml.enabled = false
html.enabled = false
txt.enabled = false
}
}
schalkms
12/05/2019, 5:31 PMsanogueralorenzo
12/23/2019, 6:51 AMschalkms
12/23/2019, 8:50 AM