Android JaCoCo plugin cannot provide code coverage for Java library modules

Hello,

It seems that the Android JaCoCo Gradle plugin cannot provide code coverage for Java library modules. This can be a problem because the Android UI module often does not contain much code for the code coverage to be comprehensive.

Is there any workaround or any way to fix this?