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 {
modx-snippets
telosys
schemacrawler
html-rendering
websphere-process-server
completable-future
runtimeexception
table-splitting
.net-5
uiscenedelegate
tfsbuild
react-native-google-cast
float32
const-pointer
zero-extension
first-class-functions
dafny
react-native-paper
django-constraints
int32
setalarmclock
backport
galaxy
ansi-to-html
gcc4.8
nuget-package-manager-console
ggez
ether
oracle-apex-5
custom-adapter