diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-04-21 17:12:34 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-04-22 09:44:25 +0200 |
| commit | 6d7f683a2c1b1823c8cf99e304a1f569eaaff76a (patch) | |
| tree | 46ce7ff86520270ca8dba57bc8c7d8729b6dd097 /buildSrc | |
| parent | 22d79155def4044f3dacafd99c2a0128e86ebae5 (diff) | |
build: Include Quarkus tests in aggregated JaCoCo test report
This change fixes an issue where the results of the Quarkus tests where
not included in the aggregated JaCoCo test report, due to it not using
the official Gradle JaCoCo plugin.
This change defines a new configuration that exposes the execution data
generated by Quarkus to the aggregation plugin.
Diffstat (limited to 'buildSrc')
| -rw-r--r-- | buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts b/buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts index 7ae42cd2..94b20808 100644 --- a/buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts +++ b/buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts @@ -1,3 +1,5 @@ +import io.quarkus.gradle.QuarkusPlugin + /* * Copyright (c) 2021 AtLarge Research * @@ -37,6 +39,9 @@ dependencies { jacocoAggregation(this@subprojects) } + plugins.withType<QuarkusPlugin>().configureEach { + jacocoAggregation(this@subprojects) + } } } |
