Jacoco's generated report shows that few branches are missed in my Kotlin coroutine code.
I upgraded the jacoco version to 0.8.7, and jacoco said 0.8.3 fixed suspending lambdas: Release 0.8.3 jacoco Github but it's not working.
Solution:
Make sure you config toolVersion = '0.8.7' below as well as the plugin version.
jacoco {
toolVersion = '0.8.7'
}
网友评论