Update build.gradle.kts
Some checks failed
Build / Build and analyze (push) Failing after 32s
Quality Check / Tests (pull_request) Failing after 24s
Quality Check / Checkstyle Main (pull_request) Failing after 22s

This commit is contained in:
Jan Gleytenhoover 2024-09-25 15:00:43 +00:00
parent 47878ad3d3
commit a0286d5047

@ -8,8 +8,10 @@ plugins {
}
tasks.jacocoTestReport {
dependsOn(tasks.test) // Ensure tests are run before generating the report
reports {
xml.required = false
xml.isEnabled = true // Enable XML report
html.isEnabled = true // Enable HTML report
}
}
@ -74,4 +76,5 @@ dependencies {
tasks.withType<Test> {
useJUnitPlatform()
finalizedBy(tasks.jacocoTestReport) // Run JaCoCo report after tests
}