Asked this multiple days ago with no response - Gradle Signing plugin - Stack Overflow
(answer there for “reputation” too!)
I simply cannot get the signing plugin to work. I specifically need to use the in-memory approach as my releases are done from CI machine. I’ve tried both forms -
signing {
useInMemoryPgpKeys(signingKey, signingPassword)
}
and
signing {
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
}
I have verified that the “correct” (my expectation anyway) values get passed to the script. But both forms lead to
> Could not read PGP secret key
Help? Please?