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 {
linux-device-driver
simbl
android-popupwindow
bs4
maxifs
work-item-type
ggnet2
system.net.mail
svg-android
qqmlcomponent
uitabview
mapstruct
lib-jitsi-meet
submit
accessibility-api
uft14
uwp-tasks
spring-auto-restdocs
multitargeting
setwindowlong
mapbox-ios-maps
capybara-webkit
gmail.js
expo-linking
multiclass-classification
zerocode
keycloak
compiler-explorer
helm-tls
itemtouchhelper