Hi folks, I run `gradle publish` on Windows, and i...
# community-support
o
Hi folks, I run
gradle publish
on Windows, and it gets stuck in
sign*Publication
. But everything works fine on macOS. I suspect it’s a GPG issue, but killing
gpg-agent
or restarting the computer doesn’t work. Does anyone have any ideas?
o
Yes, I'm using the publishing & signing plugin provided by Gradle. I can't reproduce it reliably, but the problem is solved when Kleopatra is running in the background. But when I restart the computer without Kleopatra running in the background, I can sign normally. I am very confused.
Copy code
signing {
    useGpgCmd()
    sign(publishing.publications)
}