From 53cafd3dd24d5ca9431fea237be43df0ac5e0fac Mon Sep 17 00:00:00 2001 From: Lars Simon Winzer Date: Sat, 11 Apr 2026 15:53:23 +0200 Subject: [PATCH] Build: Add JaCoCo as gradle plugin --- build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index 6f82563..99005a1 100644 --- a/build.gradle +++ b/build.gradle @@ -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 { -- 2.52.0