Skip to content

Commit

Permalink
Update implementation for :coverage task
Browse files Browse the repository at this point in the history
  • Loading branch information
nseah21 committed Jul 15, 2023
1 parent 745afd5 commit f09f9bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,10 @@ tasks.named<JacocoReport>("jacocoTestReport").configure {
}

tasks.register<JacocoReport>("coverage").configure {
val jacocoTestReport = tasks.named<JacocoReport>("jacocoTestReport").get()
sourceDirectories.from(files(sourceSets.getByName("main").allSource.srcDirs))
classDirectories.from(files(sourceSets.getByName("main").output))
executionData(systemtest, frontendTest)
executionData.from(files(jacocoTestReport.executionData))

reports {
html.required.set(true)
Expand Down

0 comments on commit f09f9bd

Please sign in to comment.