Some more information:
When I added SSL debugging to the gradle build, it became obvious that the server certificate used at https://plugins.gradle.org is not trusted by default trustStore in openjdk7:
e[1m> Configuring > 0/1 projects > root projecte[22me[43De[0Kmain, handling exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
So, I guess the server certs were changed at plugins.gradle.org in a way that no longer work with java 1.7?
This is strange though: the firefox certificate inspection tool can’t derive any information for the cert:
Brian