Upgrade to newer gradle
Switch distribution location to HTTPS