Yes it worked and the coverage is reported.
I will mention that it required us to modify some build processes in order to make it work, because we used to just run “sbt test” in order to run the tests and also the coverage, but that doesn’t take into affect the jacoco-sbt reporting settings (which is jacocoReportSettings := JacocoReportSettings(title = "Report Title", formats = Seq(JacocoReportFormats.XML))
in case someone else experience the same issue), so we need to start using “sbt jacoco” and change the sonar attribute accordingly - all this for various projects/teams that uses Java Play which up until now worked fine OOTB.
I’ve also tried to force jacoco-sbt to use the latest jacoco release (using dependencyOverrides ++= Seq( "org.jacoco" % "org.jacoco.core" % "0.8.3", "org.jacoco" % "org.jacoco.report" % "0.8.3" )
, but apparently it wouldn’t work without further adjustments from the jacoco-sbt side as it made all of our tests to fail… I guess we’re stuck with XMLs until a new jacoco-sbt release will support jacoco 0.8.3.