Signing plugin in userguide has broken example code


(crotwell) #1

The userguide (chap 32)
https://docs.gradle.org/current/userguide/signing_plugin.html
shows an example of reading the gpg key and password from Console. However
this seems not to be supported by the daemon, Console is null.
Would be nice to either mention this in the docs, or write an example
that can work with the daemon.

This was mentioned here:
https://discuss.gradle.org/t/system-console-when-using-the-daemon/2306/7
and is related to GRADLE-2310