diff --git a/build.gradle b/build.gradle index 88a7a2b..35ebaa2 100644 --- a/build.gradle +++ b/build.gradle @@ -3,6 +3,7 @@ plugins { id 'application' id 'org.openjfx.javafxplugin' version '0.0.13' id 'org.beryx.jlink' version '2.25.0' + id 'jacoco' } group 'ch.zhaw.gartenverwaltung' @@ -45,6 +46,15 @@ dependencies { test { useJUnitPlatform() + finalizedBy jacocoTestReport +} + +jacocoTestReport { + dependsOn test +} + +jacoco { + toolVersion = "0.8.8" } jlink { @@ -57,4 +67,4 @@ jlink { jlinkZip { group = 'distribution' -} \ No newline at end of file +}