mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-02 16:49:12 +00:00
19 lines
475 B
Groovy
19 lines
475 B
Groovy
def detektAggregateReport = "$buildDir/reports/detekt/detekt.xml"
|
|
|
|
repositories {
|
|
maven { url "https://repo.spring.io/plugins-release/" }
|
|
}
|
|
|
|
detekt {
|
|
toolVersion = detektVersion
|
|
input = files(rootProject.projectDir.absolutePath)
|
|
filters = ".*/resources/.*, .*/build/.*"
|
|
config = files("$rootDir/gradle/config/detekt.yml")
|
|
parallel = true
|
|
}
|
|
|
|
sonarqube {
|
|
properties {
|
|
property "sonar.kotlin.detekt.reportPaths", detektAggregateReport
|
|
}
|
|
} |