GithubHelp home page GithubHelp logo

Comments (9)

Jawnnypoo avatar Jawnnypoo commented on July 17, 2024 2

Seeing this as well. (Using a config very similar to https://github.com/coil-kt/coil if that helps)

from gradle-maven-publish-plugin.

Jawnnypoo avatar Jawnnypoo commented on July 17, 2024 2

@vanniktech It would be good in my opinion to add to the README instructions about signing and potentially how to disable it, since it is required by mavenCentral, but some might be using this lib just to deploy to a private maven instances that doesn't require signing.

from gradle-maven-publish-plugin.

christian-draeger avatar christian-draeger commented on July 17, 2024 1

ok i finally managed to publish by adding the following to my gradle.properies file:

signing.keyId=A1B2C3D4
signing.password=somePassword
signing.secretKeyRingFile=/Users/christiandrager/.gnupg/secring.gpg

to get tthe signing key id run:
gpg --list-secret-keys --keyid-format SHORT

the 8 characters that are following after ssb rsa2048/ are your keys id

If you started out with GnuPG 2.1 instead of upgrading from earlier versions, creating a secring.gpg file manually appears to be the proper workaround:

gpg --export-secret-keys >~/.gnupg/secring.gpg

But anyway i don't think its needed to add the properties usually? at least i can not find some instructions to do that in the plugins documentation

from gradle-maven-publish-plugin.

vanniktech avatar vanniktech commented on July 17, 2024 1

Oh yes those 3 gradle properties are required. Want to submit a README update?

from gradle-maven-publish-plugin.

vanniktech avatar vanniktech commented on July 17, 2024

Which version of the plugin are you using? I haven't had any problems releasing with the current version.

from gradle-maven-publish-plugin.

christian-draeger avatar christian-draeger commented on July 17, 2024

Hey, I'm using version 0.8.0

from gradle-maven-publish-plugin.

Jawnnypoo avatar Jawnnypoo commented on July 17, 2024

@christian-draeger What command did you use to generate that .gpg file? Right now, I am using gpg --gen-key but my file does not end up named the same as yours, so I am wondering if there is some other configuration I need.

from gradle-maven-publish-plugin.

Jawnnypoo avatar Jawnnypoo commented on July 17, 2024

I ended up having to do this step too: gradle/gradle#888 (comment) to properly export to secring.gpg and everything seems to be working now! Thanks!

from gradle-maven-publish-plugin.

christian-draeger avatar christian-draeger commented on July 17, 2024

I ended up having to do this step too: gradle/gradle#888 (comment) to properly export to secring.gpg and everything seems to be working now! Thanks!

Ah, yeah did that as well before to create securing.gpg file
Forgot to mention that

from gradle-maven-publish-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.