To solve my problem here: Applying JaCoCo to all Android Studio gradle modules, I applied the solution here. This works fine so far for modules with plugins {
end-to-end-encryption
labelimg
mle
heading
tsd-jsdoc
swtchart
timertask
raw-file
resizable
elasticsearch-api">elasticsearch-api
webworldwind
graphql-shield
gforth
spring2.x
android-r8
faultexception
sql-truncate
qabstractitemview
curses
amazon-machine-learning
kamon
pivot
avplayerviewcontroller
radial-gradients
dynamic-compilation
wijmo5
autoreconf
advanced-filter
glyph
jpos