Signing plugin should not be enabled for 'install' task
Closed this issue · 5 comments
wdroste commented
Should there be a way to disable the signing plugin for local builds? The 'install' task is label as a way to install code into the local repository.. Anyway getting a failure attempting to just build w/o going through gpg..
Workaround:
- Commented out the signing plugin components..
sarmbruster commented
as a workaround, you could add your pgp/gpg credentials to ~/.gradle/gradle.properties
:
signing.keyId=24875D73
signing.password=secret
signing.secretKeyRingFile=/Users/me/.gnupg/secring.gpg
See http://gradle.org/docs/current/userguide/signing_plugin.html for details.
And +1 for me to make signing optional.
wdroste commented
+1 for optional
graemerocher commented
You can do
./gradlew install -x signArchives
As a workaround
wdroste commented
Thanks
wdroste commented
Works w/ the latest