Skip to content

Commit

Permalink
Declare jacocoTestReport as a test task finalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
sormuras committed Mar 1, 2018
1 parent 60e385d commit 346ed5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions junit5-gradle-consumer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ test {
reports {
html.enabled = true
}

finalizedBy jacocoTestReport
}

dependencies {
Expand All @@ -62,5 +64,3 @@ task wrapper(type: Wrapper) {
description = 'Generates gradlew[.bat] scripts'
gradleVersion = '4.6'
}

build.dependsOn jacocoTestReport

0 comments on commit 346ed5a

Please sign in to comment.