Skip to content

Commit

Permalink
KAFKA-15235: Fix broken coverage reports since migration to Gradle 8.x (
Browse files Browse the repository at this point in the history
apache#14075)

Reviewers: Divij Vaidya <[email protected]>
  • Loading branch information
bmscomp authored Jul 26, 2023
1 parent e5fb9b6 commit 8135b6d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ buildscript {
plugins {
id 'com.github.ben-manes.versions' version '0.47.0'
id 'idea'
id 'jacoco'
id 'java-library'
id 'org.owasp.dependencycheck' version '8.2.1'
id 'org.nosphere.apache.rat' version "0.8.0"
Expand Down Expand Up @@ -735,9 +736,9 @@ subprojects {
dependsOn tasks.test
sourceSets sourceSets.main
reports {
html.enabled = true
xml.enabled = true
csv.enabled = false
html.required = true
xml.required = true
csv.required = false
}
}

Expand Down Expand Up @@ -808,10 +809,9 @@ if (userEnableTestCoverage) {
executionData.from = javaProjects.jacocoTestReport.executionData

reports {
html.enabled = true
xml.enabled = true
html.required = true
xml.required = true
}

// workaround to ignore projects that don't have any tests at all
onlyIf = { true }
doFirst {
Expand Down

0 comments on commit 8135b6d

Please sign in to comment.