jansauer / gradle-print-coverage-plugin

Scraps jacoco test reports and prints the code coverage to the console
16 stars 9 forks source link

Customize report Path #14

Open rochaalexandre opened 4 years ago

rochaalexandre commented 4 years ago

It would be possible to expose the file path new File("${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml") as a property to the user customize this path?

In my project, we had a whole bunch of features that are reading the jacoco report from ${project.buildDir}/jacoco/reports/report.xml. In this way use, this plugin is not an option.

mvol commented 4 years ago

I have now created a pull-request for that: https://github.com/jansauer/gradle-print-coverage-plugin/pull/16

davinkevin commented 2 years ago

+1 on this one, especially to use kover instead of Jacoco

manuelprinz commented 2 years ago

Nice addition! I may conflict with the changes in PR #18, at least if will start eagerly configuring again. I can propose an update if wanted. (Neither is merged yet, anyway.)