You need to specify jacoco.toolVersion in your gradle when upgrading from 0.8.5 -> 0.8.6. It might cause your issue On Saturday, March 12, 2022 at 7:56:54 AM UTC+8 Evgeny Mandrikov wrote:
> The only as of today change in 0.8.8 related to Kotlin in > https://www.jacoco.org/jacoco/trunk/doc/changes.html > is just about improvement of report in case of Kotlin "unsafe" cast > operation, > and does not mean that you can not use JaCoCo 0.8.7 with Kotlin 1.6.0 > > There are many people who successfully use JaCoCo 0.8.7 with Kotlin 1.6.0 > - see for example > > https://github.com/SonarSource/sonar-kotlin/blob/2.9.0.1147/gradle.properties#L5 > > https://github.com/SonarSource/sonar-kotlin/blob/2.9.0.1147/build.gradle.kts#L113 > > If you absolutely need unreleased JaCoCo version, then please have a look > at the very first FAQ entry > https://www.jacoco.org/jacoco/trunk/doc/faq.html > > On Wednesday, March 9, 2022 at 5:49:43 PM UTC+1 Ravikumar Valluri wrote: > >> We still using Jacoco version (0.8.4) and latest Jacoco version 0.8.7 >> does not support Kotlin version 1.6.0. I have gone through the JaCoCo >> release history and they are releasing new plugin 0.8.8 (beta) which >> supports Kotlin version 1.6.0 >> >> https://www.jacoco.org/jacoco/trunk/doc/changes.html >> Thanks >> Ravi >> On Wednesday, March 9, 2022 at 7:30:17 PM UTC+5:30 Marc R. Hoffmann wrote: >> >>> Hi, >>> >>> please provide details of the failure (full stack trace). >>> >>> Thanks, >>> -marc >>> >>> On 9. Mar 2022, at 14:58, Ravikumar Valluri <[email protected]> >>> wrote: >>> >>> Hi All, >>> We have upgraded Kotlin version to 1.6.0 and there after Jacoco code >>> coverage UT cases are failing in Jenkins. >>> >>> As per the document , Jacoco 0.8.7 does not support Kotlin 1.6.0 . Could >>> you please some update me when we get latest version of Jacoco 0.8.8 to >>> support Kotlin 1.6.0 version? >>> >>> Thanks >>> Ravi >>> >>> -- >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jacoco/b646fd2d-02c7-45c8-b3ac-ac6e39aa4cfdn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/jacoco/b646fd2d-02c7-45c8-b3ac-ac6e39aa4cfdn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> >>> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/b271bc4a-ba43-4f99-929c-a479246d9341n%40googlegroups.com.
