dimsuz
12/15/2021, 5:27 PMkts
file like this:
subprojects {
apply(plugin = "io.gitlab.arturbosch.detekt")
tasks.withType<io.gitlab.arturbosch.detekt.Detekt>() {
config.setFrom(files(rootProject.file("detekt-config.yml")))
}
}
And when I run this with either detektMain
or detektDebug
(i.e. with Type Resolution), my detekt-config is not being read, because rules I have disabled are actually used and my custom rule set is not used.
But if I run without type resolution: detekt
, then it works and sees the config.
Is this a known issue? Detekt is 1.19.0
gammax
12/15/2021, 6:17 PMdimsuz
12/15/2021, 6:19 PMgammax
12/17/2021, 3:28 PM