SpongePowered / SpongeGradle

Handy gradle utilities for the various gradle projects of SpongePowered
MIT License
21 stars 16 forks source link

Allow specification of jar to upload (instead of configuration) #17

Closed BrainStone closed 1 year ago

BrainStone commented 6 years ago

It would be very useful to be able to directly select the jar/artifact/task that creates the artifact to upload.

I know you can specify the configuration, but in order to select the correct jar, you have to do some ugly hacking with adding a different signing task and some other weird stuff, as can be seen in the Nucleus build script: https://github.com/NucleusPowered/Nucleus/blob/520803fc4c609572298722a8ce834e17633f7404/build.gradle#L287-L305

I think the CurseForge-Plugin does it really well. The only thing is I'm not sure how hard it is to get the signature of a jar when using a task as the source.

zml2008 commented 1 year ago

Not relevant as of #56