This is not an android project with mixed source Java and Kotlin. Eventhough many have had issues with coverage, kotlin and sonar. I didn't find one for this case.
Sonarqube is not picking up both Kotlin and Java Coverage generated by Jacoco:
- Gradle 4.8
- Java 1.8
- Kotlin 1.3.50
It gets the Java one, but all of the Kotlin classes gets ignored. I have applied all required plugin in the gradle file:
allprojects {
apply plugin: 'jacoco'
apply plugin: 'java'
apply plugin: 'org.sonarqube'
apply plugin: 'kotlin'
...
}