On 24/02/2012, at 1:03 PM, David Kowis wrote: > On 02/22/2012 10:20 PM, Adam Murdoch wrote: >> >> Can you run with -i --refresh=dependencies? This will tell you which >> URLs Gradle tried to use, and what result it got. > > sure: > $ gradle tasks -i --refresh=dependencies > Starting Build > Settings evaluated using empty settings file. > Projects loaded. Root project using build file > '/home/dkowis/gitwork/Catacomb-Snatch-1/build.gradle'. > > Included projects: [root project 'Catacomb-Snatch-1'] > Evaluating root project 'Catacomb-Snatch-1' using build file > '/home/dkowis/gitwork/Catacomb-Snatch-1/build.gradle'. > > Compiling build file > '/home/dkowis/gitwork/Catacomb-Snatch-1/build.gradle' using > BuildScriptClasspathScriptTransformer. > > Resource missing. [HTTP GET: > http://gradle-macappbundle.googlecode.com/files/gradle-macappbundle-1.0.3.xml] > > Resource missing. [HTTP HEAD: > http://gradle-macappbundle.googlecode.com/files/gradle-macappbundle-1.0.3.jar] > > > > FAILURE: Build failed with an exception. > > * What went wrong: > Could not resolve all dependencies for configuration ':classpath'. >> Could not find group:edu.sc.seis, module:gradle-macappbundle, > version:1.0.3. > Required by: > :Catacomb-Snatch-1:unspecified > > * Try: > Run with --stacktrace option to get the stack trace. Run with --debug > option to get more log output. > > That second Resource Missing is a lie. Unless for some reason calling > HEAD doesn't respond the same way as calling a GET directly.
Looks like it. If I try a HEAD request, I get a 404 response. If I try a GET request, I get a 200 response. This isn't the first time we've had problems with googlecode.com URLs. Could you add a JIRA issue for this problem, please? -- Adam Murdoch Gradle Co-founder http://www.gradle.org VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com
