-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
Could we have a 'developer guide' for anyone wishing to develop the gradle-jpi-plugin?
I'm not sure how you can publish it to a local maven repo and then use it in an actual plugin
Could we have a 'developer guide' for anyone wishing to develop the gradle-jpi-plugin?
I'm not sure how you can publish it to a local maven repo and then use it in an actual plugin
Hi jeremym,
We're using the standard maven-publish gradle plugin for this. Running the publishToMavenLocal task will publish the project locally.
To consume your locally-published plugin, it'd just be a matter of adding a buildscript dependency and the mavenLocal() repository.
Composite builds are also a great option if you're looking to iterate quickly without publishing.
Does this help? I'm happy to link out to gradle's guides for development, but hesitant to introduce a full developer guide. We're trying to leverage the standard tooling as much as possible so we can rely on gradle's docs - which are much more likely to be kept up-to-date than our own.
I recognize this issue was opened quite a long time ago and may no longer be relevant. I'll mark it as resolved if I don't hear back in a week or so.