sorry for reviving this old issue .. but I started to see the same issue one one of my dev machines. The same multi-project Gradle structure works fine on one machine .. and fails on the other.
The above comment mentions symlink ... but I am not using symlinks (at least not on purpose), plus I am seeing this issue on windows ...
Any ideas?