Using composite build for initscript plugin

I have a initscript plugin that is in an external repository and a custom distribution that sets up the repository and auto adds the plugin dependency to the initscript classpath dependencies then auto applies the plugin. I’m trying to figure out how to develop and test locally and I thought just using --include-build would work and what happens is it applies the repository plugin twice. Any way to get using composite builds with initscript plugins