From 1045511049cd63d49ca4bb632ffb72c77e56578e Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Thu, 6 Jul 2023 17:52:54 +0200 Subject: [PATCH] Create standalone code coverage aggregation module Co-authored-by: napoly --- code-coverage-report/build.gradle | 26 ++++++++++++++++++++++++++ settings.gradle | 1 + 2 files changed, 27 insertions(+) create mode 100644 code-coverage-report/build.gradle diff --git a/code-coverage-report/build.gradle b/code-coverage-report/build.gradle new file mode 100644 index 0000000000..5bb79dba62 --- /dev/null +++ b/code-coverage-report/build.gradle @@ -0,0 +1,26 @@ +plugins { + id 'base' + id 'jacoco-report-aggregation' +} + +repositories { + mavenCentral() + maven { url "https://jitpack.io" } +} + +dependencies { + jacocoAggregation project(':apitest') + jacocoAggregation project(':cli') + jacocoAggregation project(':daemon') + jacocoAggregation project(':desktop') + jacocoAggregation project(':seednode') + jacocoAggregation project(':statsnode') +} + +reporting { + reports { + testCodeCoverageReport(JacocoCoverageReport) { + testType = TestSuiteType.UNIT_TEST + } + } +} diff --git a/settings.gradle b/settings.gradle index 530d25e2f1..558941e4ec 100644 --- a/settings.gradle +++ b/settings.gradle @@ -16,5 +16,6 @@ include 'desktop' include 'seednode' include 'statsnode' include 'apitest' +include 'code-coverage-report' rootProject.name = 'bisq'