fix populateDependencies to be compatible with latest Gradle m7 snapshot
fix populateDependencies to be compatible with latest Gradle m7 snapshot

The problem being fixed here isn't obvious if your Gradle cache was already populated.  If you removed your local Gradle cache and then ran populateDependencies, the lib/ directory which is supposed to be populated by the task is mostly empty.

erdi/grails-core,clockworkorange/grails-core,clockworkorange/grails-core,clockworkorange/grails-core,clockworkorange/grails-core,clockworkorange/grails-core,erdi/grails-core,erdi/grails-core