-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to jacoco 0.8.7 #195
Comments
oh, can you share the crash log @ardevd ? |
I had the same issue with crashing tests when updating to kotlin 1.5.0 or 1.5.10, for some reason upgrading to kotlin 1.5.21 seems to work without issues. |
For our projects it still fails with 1.5.21 |
Should we still use vanniktech/gradle-android-junit-jacoco-plugin since the author doesn't seem to maintain it? |
You need JaCoCO 0.8.7 for Java 11 but compiling the source with Java 11 results in a error. See https://issuetracker.google.com/issues/178400721 The setup we went with is:
|
I faced same issue after updating AGP from 4.2.2 to 7.0.4, jacoco folder was missing in build dir. My current setup: I had to change execution data path in jacoco.gradle using |
Older Jacoco versions are incompatible with the Kotlin 1.5.x compiler. See this for more information.
However, setting
jacocoVersion = '0.8.7'
seems to crash tests.The text was updated successfully, but these errors were encountered: