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 {
live-preview
pynotify
pool
favicon
perf
xamarin.forms.listview
boost-foreach
datastax-astra
applicationinsights-react-js
hikaricp
outline
servlet-container
abac
selenium-rc
resource-scheduling
grouping-sets
osmand
flutter-positioned
analyzer
maven-failsafe-plugin
clang-tidy
bitmapshader
syslog-ng
stencil-buffer
enumerated
linker-errors
preflight
yubihsm-shell
biopython
flatfilesource