Skip to content

Commit 3410c92

Browse files
committed
Add jacocoTestReport as tests finalizer (inspired by https://github.com/codecov/java-standard/)
1 parent d15b5ff commit 3410c92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gradle-plugin/plugin/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ tasks.check {
9191
dependsOn(tasks.jacocoTestReport)
9292
}
9393

94+
tasks.test {
95+
finalizedBy(tasks.jacocoTestReport)
96+
}
97+
9498
tasks.withType<Test> {
9599
dependsOn("publishPluginMavenPublicationToPluginTestRepository")
96100
inputs.dir("src/test/testProject")

0 commit comments

Comments
 (0)