Enable parallel AST generation
This commit is contained in:
parent
a25a2ff337
commit
689b704bc5
|
@ -22,6 +22,9 @@ if (isCodeQualityEnabled) {
|
||||||
detekt {
|
detekt {
|
||||||
buildUponDefaultConfig = true
|
buildUponDefaultConfig = true
|
||||||
toolVersion = versions.detekt
|
toolVersion = versions.detekt
|
||||||
|
// Builds the AST in parallel. Rules are always executed in parallel.
|
||||||
|
// Can lead to speedups in larger projects.
|
||||||
|
parallel = true
|
||||||
baseline = file("${rootProject.projectDir}/detekt-baseline.xml")
|
baseline = file("${rootProject.projectDir}/detekt-baseline.xml")
|
||||||
config = files("${rootProject.projectDir}/detekt-config.yml")
|
config = files("${rootProject.projectDir}/detekt-config.yml")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue