Phil Webb opened SPR-10681 and commented
Building buildSrc repeatedly triggers HEAD requests for libraries existing on disk.
$ ./gradlew :spring-orm:test
================================================ Finished building buildSrc
…
Cached resource is up-to-date (lastModified: Sun May 05 20:56:48 CEST 2013). [HTTP: http://repo.springsource.org/plugins-release/org/springframework/build/gradle/propdeps-plugin/0.0.3/propdeps-plugin-0.0.3.pom]
Cached resource is up-to-date (lastModified: Sun May 05 20:56:50 CEST 2013). [HTTP: http://repo.springsource.org/plugins-release/org/springframework/build/gradle/docbook-reference-plugin/0.2.6/docbook-reference-plugin-0.2.6.pom]
…
Since items are cached it should be possible to work offline:
$ gw :spring-orm:test --offline
================================================ Finished building buildSrc
…
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':classpath'.
Could not resolve group:org.springframework.build.gradle, module:propdeps-plugin, version:0.0.3.
Required by:
:spring:4.0.0.BUILD-SNAPSHOT
No cached version available for offline mode
Could not resolve group:org.springframework.build.gradle, module:docbook-reference-plugin, version:0.2.6.
Required by:
:spring:4.0.0.BUILD-SNAPSHOT
No cached version available for offline mode
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
No further details from SPR-10681
Comment From: bclozel
I can no longer reproduce this issue. In the meantime, the Gradle build has been entirely revisited.