[build] Aggregated coverage report

This commit is contained in:
2025-08-13 10:21:02 +02:00
parent 83cbe91e35
commit 332e63e6c8
3 changed files with 28 additions and 5 deletions

View File

@@ -1,7 +1,27 @@
plugins {
id("java")
id("maven-publish")
`jacoco-report-aggregation`
`maven-publish`
}
group = "de.siphalor.tweed5"
version = properties["version"]!!
repositories {
mavenCentral()
}
dependencies {
rootProject.subprojects.forEach { subproject ->
subproject.plugins.withId("jacoco") {
jacocoAggregation(project(subproject.path))
}
}
}
reporting {
reports {
val aggregatedCoverageReport by creating(JacocoCoverageReport::class) {
testSuiteName = "test"
}
}
}