This message was deleted.
# plugin-development
s
This message was deleted.
r
I’ve tried to add
api(project(":common-models"))
thinking that it would compile it with the plugin but doesn’t seem to work… It tries to download the
common-models
when applying the plugin I’m clearly missing something here 🤔
t
Your
common-models
project either need to be published (e.g. to Maven Central) or be somehow incorporated into the plugin's JAR (have a look at the `shadow` plugin). One thing to understand: the Plugin Portal only accepts JARs for Gradle plugins. Any dependency those plugins can have need to come from Maven Central, or from a repository that users will have to configure in their builds.
r
That makes sense. I was taking a look at Ruler as they have something similar to what I want to do. Indeed, they’ve uploaded the
ruler-models
to the Maven Central. Thank you for your time & the explanation Thomas 🙇