WrapUtil.toMap(getClientModule(dependency).CLIENT_MODULE_KEY, getClientModule(dependency).getId()));
}
public DependencyDescriptor createDependencyDescriptor(ModuleDependency dependency, String configuration, ModuleDescriptor parent,
ModuleRevisionId moduleRevisionId) {
DefaultDependencyDescriptor dependencyDescriptor = new DefaultDependencyDescriptor(parent,
moduleRevisionId, getClientModule(dependency).isForce(),
false, getClientModule(dependency).isTransitive());
addExcludesArtifactsAndDependencies(configuration, getClientModule(dependency), dependencyDescriptor);
ModuleDescriptor moduleDescriptor = moduleDescriptorFactoryForClientModule.createModuleDescriptor(
dependencyDescriptor.getDependencyRevisionId(), getClientModule(dependency).getDependencies());
clientModuleRegistry.put(getClientModule(dependency).getId(), moduleDescriptor);
return dependencyDescriptor;
}