Could not resolve all dependencies for configuration ':classpath'


(Igor Meltser) #1

Hi,

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:

https://github.com/Netflix/servo/issues/167

Any idea?

Thanks.


(Peter Niederwieser) #2

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


(Igor Meltser) #3

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?


(Igor Meltser) #4

found the bug:

http://issues.gradle.org/browse/GRADLE-2034