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 {
math.net
dfinity
vector-multiplication
azure-image-builder
pitch-shifting
stack-pointer
rating-system
sqlgeometry
aws-code-deploy-appspec
fiware-cygnus
digit-separator
baseweb
client-go
suitecloud
consul
scope-chain
echosign
requestdispatcher
sqldf
tokenize
mandrill
yield
officer
facelets
seekbar
azure-web-app-service
photon
incompatibility
json-query
xceed