We faced an issue when we tried to integrate our project into sonarCloud.
So this is a multi-language project ( java, kotlin) and the problem is that we noticed that there is no code coverage for the kotlin part.
We were able to get Sonar results in Sonar Cloud, but the code coverage is still at 0% for the kotlin part .
We can see sonar scanner parsing the .kt files however it doesn’t take into account the tests performed for those files.
So to sum up, we have just a code coverage for java and not kotlin althought we added these lines to the pom.xml
I want just to mention that we use maven jacoco plugin.
So we want to know if you have any idea how can we resolve this issue and have the entire project covered.
Thanks for your help