Jacoco Report issue branches mis

2022-01-11  本文已影响0人  Android_Dev

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'
}
上一篇下一篇

猜你喜欢

热点阅读