code42 / pipelinekt

PipelineKt is a kotlin library that generates Jenkinsfiles in a flexible and familiar manner
https://code42.github.io/pipelinekt/
MIT License
57 stars 10 forks source link

Github Packages #24

Open esafirm opened 4 years ago

esafirm commented 4 years ago

Is there any plan on make the plugin available outside Github Pacakges?

Grambo007 commented 4 years ago

@esafirm The project is a way to write Kotlin to generate groovy Jenkinsfile. I am not sure how you would make that a plugin.

kpramesh2212 commented 3 years ago

Would it be possible to upload the jar to maven central?

DasAmpharos commented 3 years ago

+1 to uploading the JAR to maven central

dgoetsch commented 3 years ago

Hi all, I'm the original writer of this code, but no longer work for Code42.

@Grambo007 is right that this isn't really a plugin, but that doesn't preclude publishing to maven central. Overall that would be a win for users and help make this more broadly available. That's an internal decision for Code42 to make.

That being said, in the meantime it should be sufficient to use the github packages repo https://github.com/code42/pipelinekt/blob/master/docs/quickstart.md

Alternatively, I don't believe the MIT license would preclude someone outside of the organization from repackaging this and publishing to maven central. It would probably be a nice thing to change package names prior to that and get the blessing of the current maintainers for this project. @Grambo007 @erasmussen39 @reder9

peterfigure commented 3 years ago

Can't upvote this enough, it's a non-starter on Github Packages

Grambo007 commented 3 years ago

I talked with @erasmussen39 and when I get some time I will update to publish to maven central.

dector commented 3 years ago

[Suggested quick workaround]

It might be effortless to make this project JitPack-compatible. (for now it's building empty jar file)

TurekBot commented 9 months ago

I talked with @erasmussen39 and when I get some time I will update to publish to maven central.

@Grambo007, many thanks for your—and the other contributors'—efforts on pipelinekt.

I noticed that there was a release relatively recently; is that release one you can upload to Maven Central?

Here's Gradle's guide on publishing libraries, if it's helpful.

reder9 commented 9 months ago

@dector it appears that with recent changes since v0.18.2 that the published artifact is now JitPack compatible as seen here: https://jitpack.io/com/github/code42/pipelinekt/v0.21.1/build.log I've added a JitPack badge also to the readme for this for going forward :)

reder9 commented 9 months ago

Hi @TurekBot I'll try and see what I can do to publish this to maven central (I'e never done that before so please bear with me, but I'll try my best when I have some time)

If anyone with more experience with this wants to do that they can. I'm just offering because I dont think many of the previous contributors to this project are active or watching this as closely anymore.