If you haven't already seen this, the OSSRH has detailed step by step instructions for publishing artifacts including videos explaining the steps: central.sonatype.org/publish/publi...
They even break it down by build tool so you can find some gradle specific stuff there. I use maven so can't really help if your problem is gradle related.
Since you've gotten as far as publishing a snapshot, I'm guessing your problem is likely related to pgp signing. Did you distribute your public key? If not then that will prevent your artifacts from releasing from staging since they need to be able to verify your signature.
I initially had issues due to that. The maven central documentation suggests using MIT's key server. But that didn't work for me. Try Ubuntu's key server instead: keyserver.ubuntu.com/ which worked for me.
If you haven't already seen this, the OSSRH has detailed step by step instructions for publishing artifacts including videos explaining the steps: central.sonatype.org/publish/publi...
They even break it down by build tool so you can find some gradle specific stuff there. I use maven so can't really help if your problem is gradle related.
Since you've gotten as far as publishing a snapshot, I'm guessing your problem is likely related to pgp signing. Did you distribute your public key? If not then that will prevent your artifacts from releasing from staging since they need to be able to verify your signature.
I initially had issues due to that. The maven central documentation suggests using MIT's key server. But that didn't work for me. Try Ubuntu's key server instead: keyserver.ubuntu.com/ which worked for me.
Woah never saw that guide before. Thank you very much!
And yup, I did distribute my pgp key on some servers but I wasn't really sure if it was successful.
I'll try your suggestion one of these days.
You're welcome. Try searching for your public key on the Ubuntu key server. If it doesn't find it then it wasn't distributed successfully.