IIRC, dependency will be an ExternalDependency or a ProjectDependency. I like that approach better than trying to match up peerProjects.