Hi list.
I've written a small Groovy script that creates .sig file, .asc file or both
for a given input file (using bouncycastle, i.e without requiring a gpg
installation).
http://lilith.pastebin.com/gLx2eKW7 (no github repo created yet)
I'd like to write/have a plugin that signs all artifacts and distribution files
before they are uploaded.
Any idea how to implement it? Any volunteer? ;)
It's not that I'm too lazy to do it myself.
I'd just like to have this included in the basic Gradle distribution and I'm
not sure if I'm good enough, yet, to do it all by myself.
For example: I keep failing to create an uberjar/shaded jar of my project and
I'm absolutely lost in an "You can't change a configuration which is not in
unresolved state!" issue. :p
I suspect that I'd run into a similar issue with this plugin since I'd like to
add the signature files to the list of artifacts so they are uploaded together
with the signed file.
I guess I'd need to add a doFirst to the uploadArtifact task - but I have no
idea how I
- get all artifact files
- add created signatures to the artifact set
- get all distribution files
- add created signatures to the distribution set
Feel free to take the above code if you'd like to implement this thingy.
If you have other suggestions about that code then let me know. I'm always
interested in suggestions concerning my Groovy code. I do Java most of the time
so it might not be ideal.
Cheers,
Joern.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email