The %PATH% variable is irrelevant. regarding the redownload. Have you changed your GRADLE_HOME directory? You should be able to configure your proxy as explained in the Gradle userguide at https://docs.gradle.org/current/userguide/userguide_single.html#sec:accessing_the_web_via_a_proxy.