Could not resolve all dependencies for configuration ':classpath'


I am trying to build a project after fresh install of gradle 1.6, but it fails while it works for other people. Which points to problematic setup at my side. You can see the details here:

Any idea?


Could be a networking problem on your side. Are you behind a proxy? Have you tried with ‘–refresh-dependencies’?

I have a new input. If I run gradle build with sudo, then it works. Gradle is installed under home directory and the project is under home directory, and of course .m2 repository.

Am I missing something?

found the bug: