From 749daff3cf59625d7c4e253daeb1cb825555caad Mon Sep 17 00:00:00 2001 From: Jonas Schaub <44881147+JonasSchaub@users.noreply.github.com> Date: Tue, 19 Dec 2023 11:33:16 +0100 Subject: [PATCH] Trying again to set up test coverage analysis --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 250a5b5..fbf86d7 100644 --- a/build.gradle +++ b/build.gradle @@ -104,10 +104,15 @@ task fatJar(type: Jar) { with jar } +test { + finalizedBy jacocoTestReport // report is always generated after tests run +} + jacocoTestReport { reports { xml.required = true } + dependsOn test // tests are required to run before generating the report } spotless {