Hi, Can someone help on how to use signing on Grad...
# gradle
n
Hi, Can someone help on how to use signing on Gradle 7.0 (I’m using gradle 7.0 kKotlin dsl - To sign the artifact)
Copy code
signing {
    useGpgCmd()
    sign(publishing.publications["somePublicatioin"])
}
According to documentation I’ve tried setting up the keyName and passphrase in my gradle.properties https://docs.gradle.org/current/userguide/signing_plugin.html#example_configure_the_gnupgsignatory
Copy code
signing.gnupg.executable=gpg
signing.gnupg.useLegacyGpg=true
signing.gnupg.keyName=24875D73
signing.gnupg.passphrase=password
But everytime when I’m running
./gradlew publish
, gnupg is asking me to put the passphrase p.s: I’m using gpg legacy
n
n
Yeah.. looks like the same. But I’ve already declared the passphrase still it’s showing prompt to enter password and that also is breaking for me.
n
Yes, thanks for clarifying. This seems like a bug. I've notified our team.