it seems that if you have a:
defaultTasks 'foo', 'bar'
defined in gradle 1.0-milestone-8 and you execute:
gradle --refresh dependencies
gradle does not sem consider ‘dependencies’ to be a task and goes on to execute the default tasks anyway.
Due to the dependency cache issues in m8 in m8 we need to execute a ‘–refresh dependencies’ before each build for every project on our CI server…otherwise the builds reported dependencies missing. We have now removed the defaultTasks declarations but I think this behavior is a bit unintuitive.