1
0
mirror of https://github.com/pcvolkmer/etl-processor.git synced 2025-04-19 17:26:51 +00:00

build: add jacoco code coverage

This commit is contained in:
Paul-Christian Volkmer 2024-05-06 09:44:19 +02:00
parent 4ab95ef11f
commit e863269a42

View File

@ -8,6 +8,7 @@ plugins {
id("io.spring.dependency-management") version "1.1.4"
kotlin("jvm") version "1.9.23"
kotlin("plugin.spring") version "1.9.23"
jacoco
}
group = "de.ukw.ccc"
@ -118,6 +119,16 @@ tasks.register("allTests") {
dependsOn(tasks.withType<Test>())
}
tasks.jacocoTestReport {
dependsOn("allTests")
executionData(fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec"))
reports {
xml.required = true
}
}
tasks.named<BootBuildImage>("bootBuildImage") {
imageName.set("ghcr.io/ccc-mf/etl-processor")