From ae33f8a9422940c2475abe1e90de639f3c486be7 Mon Sep 17 00:00:00 2001 From: Daniel Lehrner Date: Thu, 16 Jan 2025 21:01:53 +0100 Subject: [PATCH 1/2] deactivate generation of all test reports Signed-off-by: Daniel Lehrner --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index 9c9bb68939b..2d53aade57e 100644 --- a/build.gradle +++ b/build.gradle @@ -1056,6 +1056,13 @@ tasks.register("verifyDistributions") { } } +tasks.withType(Test).configureEach { + if (!project.hasProperty("createReports")) { + reports.html.required = false + reports.junitXml.required = false + } +} + dependencies { errorprone 'com.google.errorprone:error_prone_core' // https://github.com/hyperledger/besu-errorprone-checks/ From fb7f281cdfdf4664a19f04ddf7a7160a6e42127b Mon Sep 17 00:00:00 2001 From: Daniel Lehrner Date: Fri, 17 Jan 2025 22:29:30 +0100 Subject: [PATCH 2/2] deactivate test reports via jacocoTestReport Signed-off-by: Daniel Lehrner --- build.gradle | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 2d53aade57e..694708962d2 100644 --- a/build.gradle +++ b/build.gradle @@ -968,7 +968,9 @@ def sep = Pattern.quote(File.separator) jacocoTestReport { reports { - xml.required = true + xml.required = false + csv.required = false + html.required = false } } @@ -1056,13 +1058,6 @@ tasks.register("verifyDistributions") { } } -tasks.withType(Test).configureEach { - if (!project.hasProperty("createReports")) { - reports.html.required = false - reports.junitXml.required = false - } -} - dependencies { errorprone 'com.google.errorprone:error_prone_core' // https://github.com/hyperledger/besu-errorprone-checks/