mirror of https://github.com/usbharu/Hideout.git
chore: lintに言うことを聞かせた
This commit is contained in:
parent
ae376d55d0
commit
b65f580733
|
@ -151,10 +151,19 @@ detekt {
|
||||||
parallel = true
|
parallel = true
|
||||||
config = files("detekt.yml")
|
config = files("detekt.yml")
|
||||||
buildUponDefaultConfig = true
|
buildUponDefaultConfig = true
|
||||||
basePath = "${rootDir.absolutePath}/src/"
|
basePath = "${rootDir.absolutePath}/src/main/kotlin"
|
||||||
autoCorrect = true
|
autoCorrect = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType<io.gitlab.arturbosch.detekt.Detekt>() {
|
||||||
|
exclude("**/generated/**")
|
||||||
|
doFirst {
|
||||||
|
|
||||||
|
}
|
||||||
|
setSource("src/main/kotlin")
|
||||||
|
exclude("build/")
|
||||||
|
}
|
||||||
|
|
||||||
tasks.withType<io.gitlab.arturbosch.detekt.Detekt>().configureEach {
|
tasks.withType<io.gitlab.arturbosch.detekt.Detekt>().configureEach {
|
||||||
exclude("**/org/koin/ksp/generated/**", "**/generated/**")
|
exclude("**/org/koin/ksp/generated/**", "**/generated/**")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue