Skip to content

Commit c0e6af4

Browse files
committed
Issue mozilla-mobile#1499: build.gradle: Use new syntax to run jacocoTestReport after executing the tests.
1 parent 637c0cf commit c0e6af4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ subprojects {
136136
if (project.hasProperty("coverage") && project.name != "support-test") {
137137
tasks.withType(Test) {
138138
jacoco.includeNoLocationClasses = true
139-
doLast { jacocoTestReport.execute() }
139+
140+
finalizedBy jacocoTestReport
140141
}
141142

142143
task jacocoTestReport(type: JacocoReport) {

0 commit comments

Comments
 (0)