gradle-node-plugin icon indicating copy to clipboard operation
gradle-node-plugin copied to clipboard

Publish snapshots

Open deepy opened this issue 5 years ago • 5 comments

We should probably publish the snapshots somewhere like JCenter.

This is related to #15 and #10

deepy avatar Jan 20 '20 16:01 deepy

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"

bsautel avatar May 08 '20 07:05 bsautel

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.

deepy avatar May 08 '20 07:05 deepy

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?

bsautel avatar May 08 '20 08:05 bsautel

Yeah, along with the other jars like javadoc and sources

deepy avatar May 08 '20 08:05 deepy

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.

iherasymenko avatar May 18 '20 17:05 iherasymenko