From 5d6adb54461fff914c2aa097ce6f360c042de580 Mon Sep 17 00:00:00 2001 From: Speiger Date: Sat, 28 May 2022 19:58:54 +0200 Subject: [PATCH] Added Jacoco reports --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index a07bbcb7..ea836c72 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,6 @@ plugins { id 'java-library' + id 'jacoco' } tasks.withType(JavaCompile) { @@ -98,6 +99,12 @@ test { useJUnit() } +jacocoTestReport { + reports { + xml.enabled true + } +} + publishing { Properties props = new Properties() if(file("$buildDir/credentials.properties").exists()) {