Closed midstr closed 9 years ago
Did it work from command line?
by the way, why not to put into gradle.properties
like
systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=3213
systemProp.http.nonProxyHosts=fun.tv|localhost
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=3213
systemProp.https.nonProxyHosts=fun.tv|localhost
See also http://stackoverflow.com/questions/5991194/gradle-proxy-configuration and http://www.nodeclipse.org/projects/gradle/
Also Eclipse has Preferences -> General -> Network Connections preferences where proxy also can be configured. But I can't tell if it will be applied with Gradle IDE
3ks. I think i find the Issue: the default maven repository url is "https://mvnrepository.com/", my proxy didn't support https..
Is proxy.tencent.com free to use?
yes,it's my company's inner proxy.
i do like the Screenshot, but it lost my jvm httproxy options in daemon log ,and i can't download any jar...:
11:29:21.641 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=eae78d3c-4665-45c1-85f4-a680227d3a48,javaHome=C:\Program Files\Java\jdk1.7.0_75,daemonRegistryDir=D:\gradle-repos\daemon,pid=5112,idleTimeout=10800000,daemonOpts=-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=CN,-Duser.language=zh,-Duser.variant]