File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -35,25 +35,14 @@ dependencies {
3535
3636test {
3737 useTestNG()
38- finalizedBy jacocoTestReport // report is always generated after tests run
3938}
4039
4140// codecov integration https://github.com/codecov/example-gradle
42- task codeCoverageReport (type : JacocoReport ) {
43- executionData fileTree(project. rootDir. absolutePath). include(" **/build/jacoco/*.exec" )
44-
45- subprojects. each {
46- sourceSets it. sourceSets. main
47- }
48-
41+ jacocoTestReport {
4942 reports {
5043 xml. enabled true
51- xml. destination file(" ${ buildDir} /reports/jacoco/report.xml" )
52- html. enabled false
53- csv. enabled false
44+ html. enabled true
5445 }
5546}
5647
57- codeCoverageReport. dependsOn {
58- subprojects* . test
59- }
48+ check. dependsOn jacocoTestReport
You can’t perform that action at this time.
0 commit comments