This plugin (provided by default with SonarQube 7.4+) allows you to load the JaCoCo data from its XML format for all the languages for which you can generate a JaCoCo report.
It means you can load the JaCoCo data related to Java, Kotlin but also for Groovy and probably for Scala, Clojure, ...
- Prior to the SonarQube/SonarCloud analysis, execute your unit tests and generate the JaCoCo coverage report in its XML format.
Import reports while running the SonarQube/SonarCloud analysis by providing the paths of the jacoco.xml files through the following properties. The paths may be absolute or relative to the project base directory.
Property Scope Description
Project-wide Comma-separated list of paths to JaCoCo (jacoco.xml) report files.