Skip to content

Commit

Permalink
Fixed coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzo committed Feb 6, 2024
1 parent 93bd667 commit db08115
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
alias(libs.plugins.jacoco.testkit)
alias(libs.plugins.publicationsReport)
alias(libs.plugins.buildConfig)
jacoco
}

group = "com.github.gmazzo.buildconfig"
Expand Down Expand Up @@ -79,8 +80,12 @@ tasks.pluginUnderTestMetadata {
pluginClasspath.from(pluginUnderTestDependencies)
}

tasks.check {
dependsOn("jacocoTestReport")
tasks.test {
finalizedBy(tasks.jacocoTestReport)
}

tasks.jacocoTestReport {
reports.xml.required = true
}

tasks.publish {
Expand Down

0 comments on commit db08115

Please sign in to comment.