From 08dd5ea960b0c307f4ba1bc97550833d7400d50e Mon Sep 17 00:00:00 2001 From: AlvoBen Date: Thu, 16 Jan 2025 16:01:50 +0200 Subject: [PATCH] check --- build.gradle | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 3438fd92..d03de453 100644 --- a/build.gradle +++ b/build.gradle @@ -90,7 +90,10 @@ test { showStackTraces true showStandardStreams = true } - finalizedBy jacocoTestReport + jacoco { + includeNoLocationClasses = true + excludes = ["jdk.internal.*"] + } } runIdeForUiTests { @@ -99,12 +102,11 @@ runIdeForUiTests { } jacocoTestReport { - dependsOn test // tests are required to run before generating the report - reports { - xml.required = false - csv.required = true - //html.outputLocation = layout.buildDirectory.dir('jacocoHtml') - } + classDirectories.setFrom(instrumentCode) +} + +jacocoTestCoverageVerification { + classDirectories.setFrom(instrumentCode) } publishPlugin {