dimsuz
12/17/2021, 11:58 AMdetekt
I get UseDataClass
error, but if I run detektAndroidDebug
on the same module, I get a BUILD SUCCESSFUL
.Brais Gabin
12/17/2021, 12:02 PMdimsuz
12/17/2021, 3:14 PMephemient
12/17/2021, 6:08 PMtasks.withType<Detekt>().configureEach {
config.from("detekt.yml")
}
insteaddimsuz
12/18/2021, 5:11 PMtasks.withType<io.gitlab.arturbosch.detekt.Detekt>() {
config.setFrom(files(rootProject.file("detekt-config.yml")))
}
Do you mean that files(rootProject.file("detekt-config.yml"))
is the problem here?