Coverage is 0 when i updated gradle version 7.4.1 to 8.7

6 views
Skip to first unread message

Diksha Gupta

unread,
Jul 13, 2024, 3:30:39 AM (11 days ago) Jul 13
to JaCoCo and EclEmma Users
Hi Team, 

When I was using 7.4.1, Java 11 with jacoco verion 0.8.5. it was working. After we upgrade the version to 8.7, Java 17 and jacoco version 0.8.8. i started getting issue. i tried to use 0.8.7 , 0.8.10 jacoco version but it’s still failing. also after changing to 7.r gradle version 8.7 and java lib change property “sonar.java.binaries”, "${project.buildDir}/intermediates/javac/${variant}/classes/com to “sonar.java.binaries”, "${project.buildDir}/intermediates/javac/${variant}/compile${variant}JavaWithJavac/classes/com. we change this in build.gradle and but still coverage is getting 0. report is generated with 0%. but are getting other value but coverage is still 0

Thanks and Regards,
Diksha Gupta

Marc Hoffmann

unread,
Jul 14, 2024, 12:58:20 PM (10 days ago) Jul 14
to JaCoCo and EclEmma Users
Dear Diksha,

please understand that the JaCoCo Grade integration is not implemented by us. Please check with the Gradle team for the JaCoCo Grade integration. See: https://www.jacoco.org/jacoco/trunk/doc/integrations.html

Typically a good starting point would be to study the log files and look for JaCoCo specific warnings. We typically warn about misconfigurations.

Regards,
-marc


--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/9e1cee9b-d57c-4857-9a62-465121360b41n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages