From 6d7f683a2c1b1823c8cf99e304a1f569eaaff76a Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Thu, 21 Apr 2022 17:12:34 +0200 Subject: 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. --- buildSrc/src/main/kotlin/jacoco-aggregation.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'buildSrc/src/main') 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().configureEach { + jacocoAggregation(this@subprojects) + } } } -- cgit v1.2.3