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 {
nsstring
mysql-connect
grails-4
avro
table-plus
twilio-python
metaclass
reporting-services
kendo-menu
type-assertion
single-spa-react
planar-graph
snowflake-pipe
helm3
internationalization
android-banner
bleu
autotools
samsung-mobile-sdk
r-stars
redmi-device
connect-mongo
file-get-contents
asp.net-core-mvc
azure-synapse
ionic-storage
multiplatform
tfs-proxy
team-explorer-everywhere
unisharp-file-manager