落后代理

时间:2016-10-20 04:30:13

标签: jenkins gradle android-gradle jenkins-plugins

我在代理服务器后面运行gradle(版本3.1),不需要身份验证。我在gradle.properties中设置了以下内容

systemProp.http.proxyHost=xxxx
systemProp.http.proxyPort=xxx
systemProp.https.proxyHost=xxx

但是当我运行gradle时,我收到连接重置错误。

* What went wrong:
A problem occurred configuring root project '01_dev'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve com.xxxxxxxxx.gradle-plugins:1.1.5.
     Required by:
         project :
      > Could not resolve com.xxxxxxxxx.gradle-plugins:1.1.5.
         > Could not get resource 'https://xxx/artifactory/gradle-plugins-1.1.5.pom'.
            > Could not GET 'https://xxx/artifactory/gradle-plugins-1.1.5.pom'.
               > Connection reset

有谁知道这可能是什么问题?

0 个答案:

没有答案