configure Sonar only on the root project, aggregate the sonar reports, and always generate Kover XML coverage reports after tests
This commit is contained in:
parent
e45fc71ab9
commit
17ea49aba6
3 changed files with 20 additions and 14 deletions
|
@ -22,3 +22,20 @@ plugins {
|
|||
|
||||
group = "net.thauvin.erik"
|
||||
version = "1.4.0-SNAPSHOT"
|
||||
|
||||
dependencies {
|
||||
kover(projects.lib)
|
||||
kover(projects.app)
|
||||
}
|
||||
|
||||
sonar {
|
||||
properties {
|
||||
property("sonar.projectName", rootProject.name)
|
||||
property("sonar.projectKey", "ethauvin_${rootProject.name}")
|
||||
property("sonar.organization", "ethauvin-github")
|
||||
property("sonar.host.url", "https://sonarcloud.io")
|
||||
property("sonar.sourceEncoding", "UTF-8")
|
||||
property("sonar.coverage.jacoco.xmlReportPaths", "build/reports/kover/report.xml")
|
||||
property("sonar.log.level", "DEBUG")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue