Gradle jacoco coverage report with more than one submodule(s)?

后端 未结 5 1565
攒了一身酷
攒了一身酷 2021-01-02 11:35

Does anybody know how to configure a gradle file for java jacoco report that contain codecoverage of more than one gradle submodule?

my current approach only shows c

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-02 12:32

    You will need to create a new task of type JacocoMerge that aggregates the JaCoCo reports from all subprojects. See a similar discussion in this post.

提交回复
热议问题