Skip to content

Commit a9b0a12

Browse files
committed
Enable JaCoCo by default
1 parent 6082336 commit a9b0a12

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/cross-version.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
with:
6363
encryptionKey: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
6464
arguments: |
65+
-Ptesting.enableJaCoCo=false \
6566
-PjavaToolchain.version=${{ matrix.jdk.version }} \
6667
-Dscan.tag.JDK_${{ matrix.jdk.version }} \
6768
build \
@@ -101,6 +102,7 @@ jobs:
101102
with:
102103
encryptionKey: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
103104
arguments: |
105+
-Ptesting.enableJaCoCo=false \
104106
-PjavaToolchain.version=${{ matrix.jdk }} \
105107
-PjavaToolchain.implementation=j9 \
106108
-Dscan.tag.JDK_${{ matrix.jdk }} \

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
with:
3535
encryptionKey: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
3636
arguments: |
37-
-Ptesting.enableJaCoCo \
3837
:platform-tooling-support-tests:test \
3938
build \
4039
jacocoRootReport \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ builds of the next OpenJDK.
4949
Code coverage using [JaCoCo] for the latest build is available on [Codecov].
5050

5151
A code coverage report can also be generated locally via the [Gradle Wrapper] by
52-
executing `./gradlew -Ptesting.enableJaCoCo clean jacocoRootReport`. The results will be available
52+
executing `./gradlew clean jacocoRootReport`. The results will be available
5353
in `build/reports/jacoco/jacocoRootReport/html/index.html`.
5454

5555
## Develocity

gradle/plugins/build-parameters/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ buildParameters {
6767
description = "Testing related parameters"
6868
bool("enableJaCoCo") {
6969
description = "Enables JaCoCo test coverage reporting"
70-
defaultValue = false
70+
defaultValue = true
7171
}
7272
bool("enableJFR") {
7373
description = "Enables Java Flight Recorder functionality"

0 commit comments

Comments
 (0)