Enable parallel AST generation

This commit is contained in:
tzugen 2021-05-19 18:08:16 +02:00
parent a25a2ff337
commit 689b704bc5
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ if (isCodeQualityEnabled) {
detekt {
buildUponDefaultConfig = true
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")
config = files("${rootProject.projectDir}/detekt-config.yml")
}