kt3k / coveralls-gradle-plugin

👨‍🔧 gradle plugin for coveralls
https://plugins.gradle.org/plugin/com.github.kt3k.coveralls
MIT License
253 stars 54 forks source link

Tell coveralls the report path for multiple flavors? #58

Closed joshrlesch closed 8 years ago

joshrlesch commented 8 years ago

How would you go about telling the coveralls plugin the report path if Im using multiple flavors? For example: jacocoReportPath = "${buildDir}/reports/coverage/<flavor>/debug/report.xml"

kt3k commented 8 years ago

This plugin itself doesn't have the feature of merging the multiple jacoco reports. Instead, you can merge coverage reports of JaCoCo by configuring JacocoReport task.

Example Settings: https://github.com/ben-manes/caffeine/blob/master/build.gradle Doc of JacocoReport: https://docs.gradle.org/current/dsl/org.gradle.testing.jacoco.tasks.JacocoReport.html