"Mechanism level: Failed to find any Kerberos tgt" behind company proxy with Gradle 2.2

Hello,

Gradle doesn’t succeed downloading dependencies behind my company’s proxy, on Windows 7. I have correctly configured the gradle.properties files as

systemProp.https.proxyHost=<myproxy>
systemProp.https.proxyPort=8080
systemProp.https.proxyUser=<myusername>
systemProp.https.proxyPassword=<mypassword>
systemProp.https.nonProxyHosts=localhost

and I can see that the file is indeed used (when it isn’t I get a different kind of error). However, trying to run “gradle build” on the sample “Java Quick start” project generated by Eclispe Gradle (note I only used Eclipse to generate the test project but I’m running Gradle on the command line), I get:

:compileJava
NEGOTIATE authentication error: No valid credentials provided (Mechanism level:
No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
)
  FAILURE: Build failed with an exception.
  * What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not resolve commons-collections:commons-collections:3.2.
  Required by:
      :Test:1.0
   > Could not GET 'https://repo1.maven.org/maven2/commons-collections/commons-c
ollections/3.2/commons-collections-3.2.pom'. Received status code 407 from serve
r: authenticationrequired

gradle -v produces the following output:

------------------------------------------------------------
Gradle 2.2
------------------------------------------------------------
  Build time:
 2014-11-10 13:31:44 UTC
Build number: none
Revision:
   aab8521f1fd9a3484cac18123a72bcfdeb7006ec
  Groovy:
     2.3.6
Ant:
        Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:
        1.7.0_13 (Oracle Corporation 23.7-b01)
OS:
         Windows 7 6.1 amd64

Does anyone have a similar problem? Any help is appreciated. Many thanks.