From 662f13ed3275f109061482de629789db7bc91d81 Mon Sep 17 00:00:00 2001 From: Mark Janssen <20283+praseodym@users.noreply.github.com> Date: Sat, 4 May 2024 17:09:04 +0000 Subject: [PATCH] Fix Gradle JaCoCo configuration --- .github/workflows/docker.yml | 2 +- build.gradle | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6ed33b39..2cc04786 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -34,7 +34,7 @@ jobs: - name: Run a build and generate the dependency graph which will be submitted post-job run: ./gradlew build - name: Test Coverage - run: ./gradlew jacocoTestReport jacocoFix --scan + run: ./gradlew jacocoTestReport - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: diff --git a/build.gradle b/build.gradle index 325fa486..ba639f60 100644 --- a/build.gradle +++ b/build.gradle @@ -104,24 +104,6 @@ dependencies { implementation 'org.javatuples:javatuples:1.2' } -jacocoTestReport { - reports { - xml.required = true - html.required = false - } -} - -task jacocoFix(type: Copy) { - from 'build/reports/jacoco/test/jacocoTestReport.xml' - into './src/main/java/' - rename { String fileName -> - fileName.replace("jacocoTestReport.xml", "jacoco.xml") - } -} - test { maxHeapSize = "4096m" } - - -check.dependsOn jacocoTestReport