Merge branch 'chore/91-add-jacoco-as-gradle-dependency' into 'main'

Build: Add JaCoCo as gradle plugin

Closes #91

See merge request cs108-fs26/Gruppe-13!98
This commit was merged in pull request #254.
This commit is contained in:
Lars Simon Winzer
2026-04-11 15:56:28 +02:00
+10
View File
@@ -4,6 +4,7 @@ plugins {
id 'org.openjfx.javafxplugin' version '0.1.0'
id 'checkstyle'
id 'com.diffplug.spotless' version '7.0.2'
id 'jacoco'
}
group = 'ch.unibas.dmi.dbis'
@@ -41,8 +42,17 @@ dependencies {
implementation 'org.json:json:20240303'
}
jacoco {
toolVersion = "0.8.14"
}
jacocoTestReport {
dependsOn test
}
test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}
checkstyle {