collectDependencies