Snapshot Repo down - Can't build - Gradle-1.0-milestone9

A snapshot repo I depend on happens to be down (unknown ETA) which is causing all my builds to fail because the the dependency can’t be updated. Is there anyway to tell gradle to ignore the error and move on?

Here is the output:

➜
broken git:(master) ✗ gradle test
    :compileJava
Download http://repo1.maven.org/maven2/log4j/log4j/1.2.14/log4j-1.2.14.pom
> Building > :compileJava > Resolving dependencies ':compile' > 1 KB/unknown siz
FAILURE: Build failed with an exception.
  * What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not resolve group:org.got5, module:tapestry5-jquery, version:3.0.0.
  Required by:
      com.starpoint:broken:1.0.1
   > Could not GET 'http://m2repo.spockframework.org/snapshots/org/got5/tapestry5-jquery/3.0.0/tapestry5-jquery-3.0.0.pom'.
> Could not resolve group:com.starpoint, module:querybuilder, version:1.0.1-SNAPSHOT.
  Required by:
      com.starpoint:broken:1.0.1
   > Could not GET 'http://m2repo.spockframework.org/snapshots/com/starpoint/querybuilder/1.0.1-SNAPSHOT/maven-metadata.xml'.

Hello, There is no way to ignore these errors, but you have some other options:

  1. after you resolved all your dependencies, you can run your gradle builds to run with the --offline switch. With this option enabled, gradle does’t try to hit any remote repo and uses the libraries cached in earlier build runs. Be aware that running gradle with --offline would not guarantee that you use the latest snapshot versions. It will use the ones you already cached before.

  2. If you have often problems with unreliable remote repositories it might be useful to create your own proxy repository for your company. (e.g. artifactory) Its easy to setup and would bring you a lot more stability.

regards, René

–offline worked great.

Thank you very much for taking the time to help me out.

Tony Nelson Starpoint Solutions