I’m writing a Gradle plugin that depends on another module in the project. However this module isn’t published to any repository, so I shade it and deploy the shaded jar (with shadow). The problem, however is that the dependency stays in the pom and module files created by the maven-publish plugin (and I presume are there behind the scenes on the Gradle Plugin Portal).
Is there an easy way out here? I managed to remove the dependencies from the pom via
but that doesn’t remove them from the module file, so my error persists.
Is there any solution here?