gradle-node-plugin
gradle-node-plugin copied to clipboard
Publish snapshots
We should probably publish the snapshots somewhere like JCenter.
This is related to #15 and #10
What is the use case for plugin snapshots?
With Gradle, it's easy to use the plugin source by adding:
buildFile "/path/to/gradle-node-plugin"
Composite builds work great, provided that you've got the source on the same machine.
If I wanted to try something in our internal CI env I'd need a snapshot, if I wanted to share an early build with someone else.
Yes, indeed, composite builds are not very convenient if you want to use them in CI.
The idea is to automatically publish to a snapshot repository if the CI build is passing, right?
Yeah, along with the other jars like javadoc and sources
I'd suggest making the build compatible with jitpack. It's just a matter of adding the 'maven-publish' plugin to the build.gradle.kts.