JacocoReport task should be added for all registered tasks not just Test tasks


(Matt Khan) #1

The jacoco plugin currently creates a task named jacocoXXXReport for each task of type Test in the project (where XXX is the test task name). However it also supports collecting coverage stats from any task that extends JavaForkOptions, it would be nice if the plugin automatically created a report task for each such task rather than leaving that as an exercise for the reader.