I have a working setup for a simple SBT build but now I am dealing with a multi project build. At the moment SBT jacoco:cover produces reports inside each sub project but I would like to have an aggregate at the root level /target/scala-2.xx/jacoco.
Jacoco has jacoco:merge ant target which you can integrate with SBT to merge reports from subprojects.
<jacoco:merge destfile="merged.exec">
<fileset dir="dir_common_location" includes="*.exec"/>
</jacoco:merge>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With