Can't download dependency

(Steven Devijver) #1

This is my build file:

apply plugin: ‘java’

repositories {



dependencies {

compile ‘’


This is the output:

C:\dev\test>gradle build

:compileJava UP-TO-DATE

:processResources UP-TO-DATE

:classes UP-TO-DATE



:compileTestJava UP-TO-DATE

:processTestResources UP-TO-DATE

:testClasses UP-TO-DATE


FAILURE: Build failed with an exception.

  • What went wrong:

Could not resolve all dependencies for configuration ‘:testRuntime’.

Could not resolve

Required by:


Could not HEAD '


  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.


Total time: 27.556 secs


This is my gradle version information:

C:\dev\test>gradle -v

Gradle 1.6

Gradle build time: dinsdag 7 mei 2013 9.12 u. UTC

Groovy: 1.8.6

Ant: Apache Ant™ version 1.8.4 compiled on May 22 2012

Ivy: 2.2.0

JVM: 1.6.0_24 (Sun Microsystems Inc. 19.1-b02)

OS: Windows 7 6.1 x86


When I change from findbugs 1.3.9 to version 2.0.0 it works fine.

(Peter Niederwieser) #2

Works fine for me. Can you try again, possibly with ‘–refresh-dependencies’? Might have been a network hiccup.

(Steven Devijver) #3

‘–refresh-dependencies’ did the trick. I still don’t understand why it worked for version ‘2.0.0’ but not for version ‘1.3.9’. Thanks.