Skip to content
Browse files

Make Jacoco work with multiple test tasks (#437)

* Make Jacoco work with multiple test tasks

By default Jacoco only looks at execution data from
the 'test' task. This is a problem to 'core' which
has multiple test sets.
  • Loading branch information
weiminyu committed Jan 9, 2020
1 parent d4b1048 commit 533515817fb6a21b2cb51e4076889703a15e273d
Showing with 5 additions and 0 deletions.
  1. +5 −0 java_common.gradle
@@ -121,6 +121,11 @@ spotless {

jacocoTestReport {
// Use coverage data from all tests tasks, not just the one named 'test'.

// Initialize for coverage minimum determination for each sub project.
task initCoverageMinimums {
// Use current coverage ratio of each subproject as placeholder value.

0 comments on commit 5335158

Please sign in to comment.
You can’t perform that action at this time.