Hi.
I’m using Gradle Tooling API. It probably uses Gradle Wrapper and wants to have downloaded distribution unpacked into ‘~/.gradle/wrapper/dists/gradle-x.y-bin’.
I don’t understand why it is necessary. I already have installed Gradle on my computer and there is also correctly set ‘GRADLE_HOME’ system environment. Problem begins behind proxy. It does not accepts any http/s proxy settings. I’m on OSX and have set bash environments ‘http_proxy’ and ‘https_proxy’; ‘GRADLE_OPTS’ contains ‘-Dhttp.proxyHost=… -Dhttp.proxyPort=… -Dhttps.proxyHost=… -Dhttps.proxyPort=…’; and ‘~/.gradle/gradle.properties’ contains ‘systemProp.http.proxyHost’, ‘systemProp.http.proxyPort’ (as well as ‘https’ settings). But nothing helped.
So my first question is why it is necessary download another Gradle distribution using Gradle Tooling API? And another question/bug is why proxy settings are not used?
Thanks a lot for your answer.
Best regards, -libor