Files
apollo/gradle/code-quality.gradle
T
Gary Tierney 483d668d4e Update build scripts to work on Gradle 6.1
Removes the custom JaCoCo report aggregation code, which is now handled
automatically by Gradle.
2020-02-06 00:04:13 +00:00

25 lines
697 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.organization", "apollo-rsps"
property "sonar.projectKey", "apollo:org.apollo"
property "sonar.projectName", "Apollo RSPS"
property "sonar.kotlin.file.suffixes", ".kt,.kts"
property "sonar.kotlin.detekt.reportPaths", detektAggregateReport
}
}