Gradle disregards dependencies

Hi, just another problem with gradle for C++. For some reason it disregards dependencies, or fails to arrange correct build order. Build fails with many “unresolved external” errors. When I run it with “–no-parallel” option, I see that not all projects from dependencies {} list are build. Please, help.