This commit is contained in:
Jan-Philipp Luithardt
2025-12-02 11:11:23 +01:00
parent b5524dbec2
commit 6992100fff
78 changed files with 3811 additions and 30 deletions

View File

@@ -1,5 +1,6 @@
plugins {
id 'java'
id 'jacoco'
}
group = 'hhn.temp.project'
@@ -15,6 +16,11 @@ dependencies {
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
jacoco {
toolVersion = '0.8.13'
reportsDirectory.set(layout.buildDirectory.dir('customJacocoReportDir'))
}
sourceSets {
main {
java {
@@ -30,4 +36,13 @@ sourceSets {
test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
reports {
xml.required = false
csv.required = false
html.outputLocation.set(layout.buildDirectory.dir('jacocoHtml'))
}
}