Hello magicians, I have a quite interesting issue,...
# detekt
i
Hello magicians, I have a quite interesting issue, baseline generator ignores project detekt config and fallback to default configuration Has anyone faced similar issues? Googling didn't help me to find an answer
l
And
detekt
is running using your custom configurations? Only
baseline
is forgetting it?
i
Yes, it is correct Therefore it is super strange The root build gradle configuration is here The only guess and clue is multi module structure of the the project
Copy code
withType<Detekt> {
            config.from("$rootDir/detekt_config.yml")
            allRules = true
            parallel = true
            buildUponDefaultConfig = true

            reports {
                txt.required.set(false)
                html.required.set(!ci)
                xml.required.set(ci)
            }
        }
b
Use
withType<DetektBaseline>()
They are different tasks
❤️ 1
i
Interesting, I didn't know it, thank you Brais for a hint!
Yes, it was the problem