diff --git a/build.gradle b/build.gradle index 5e4909a0d..2cce555ba 100644 --- a/build.gradle +++ b/build.gradle @@ -30,7 +30,7 @@ allprojects { group = 'com.uber.jaeger' version = '0.19.0-SNAPSHOT' - + repositories { mavenCentral() } @@ -114,10 +114,20 @@ task codeCoverageReport(type: JacocoReport, group: 'Coverage reports') { } reports { - html.enabled = false + html.enabled = true xml.enabled = true xml.destination = "${buildDir}/reports/jacoco/report.xml" } + + afterEvaluate { + classDirectories = files(classDirectories.files.collect { + fileTree(dir: it, + exclude: ['**/crossdock/**', + '**/thrift/**', + '**/thriftjava/**', + ]) + }) + } } configure(subprojects.findAll {it.name != 'jaeger-thrift'}) { diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..886ef33c9 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +coverage: + precision: 2