Multi project gradle plugin

I’m building a custom plugin for Android applications. My plugin is spread out over a couple of modules.
The problem is that when trying to publish my plugin using the maven-publish plugin is that it only publishes the plugin module and then when applying the plugin to the Android project the dependencies can’t be found.