From 13ffebe2f1012da473189c4fe86fd14b83809962 Mon Sep 17 00:00:00 2001 From: Ismael Juma Date: Wed, 12 May 2021 08:13:03 -0700 Subject: [PATCH] MINOR: Update jacoco to 0.8.7 for JDK 16 support (#10654) Details: * https://github.com/jacoco/jacoco/releases/tag/v0.8.6 * https://github.com/jacoco/jacoco/releases/tag/v0.8.7 Ran `./gradlew clients:reportCoverage -PenableTestCoverage=true -Dorg.gradle.parallel=false` successfully with Java 15 (see https://github.com/gradle/gradle/issues/15730 and https://github.com/scoverage/gradle-scoverage/issues/150 for the reason why `-Dorg.gradle.parallel=false` is required). Also updated `README.md` to include `-Dorg.gradle.parallel=false` alongside `reportCoverage`. Reviewers: Chia-Ping Tsai --- README.md | 4 ++-- gradle/dependencies.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 94e957cd384f0..2ee837174b09c 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,11 @@ See [Test Retry Gradle Plugin](https://github.com/gradle/test-retry-gradle-plugi ### Generating test coverage reports ### Generate coverage reports for the whole project: - ./gradlew reportCoverage -PenableTestCoverage=true + ./gradlew reportCoverage -PenableTestCoverage=true -Dorg.gradle.parallel=false Generate coverage for a single module, i.e.: - ./gradlew clients:reportCoverage -PenableTestCoverage=true + ./gradlew clients:reportCoverage -PenableTestCoverage=true -Dorg.gradle.parallel=false ### Building a binary release gzipped tar ball ### ./gradlew clean releaseTarGz diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index 788aad0f347aa..2c67d137865f7 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -67,7 +67,7 @@ versions += [ easymock: "4.3", jackson: "2.10.5", jacksonDatabind: "2.10.5.1", - jacoco: "0.8.5", + jacoco: "0.8.7", javassist: "3.27.0-GA", jetty: "9.4.39.v20210325", jersey: "2.34",