IDEA-157177 IDEA Ultimate 2016.1.3 cannot resolve transitive dependencies in multi module gradle project

This commit is contained in:
Vladislav.Soroka
2016-06-08 13:53:58 +03:00
parent 239f11a95b
commit e2748a5f15
3 changed files with 4 additions and 2 deletions
@@ -203,6 +203,8 @@ public class LibraryDependencyDataService extends AbstractDependencyDataService<
if (existing != null) {
toImport.remove(existing);
orderEntryDataMap.put(entry, existing);
libraryOrderEntry.setExported(existing.isExported());
libraryOrderEntry.setScope(existing.getScope());
}
else if (!hasUnresolvedLibraries) {
// There is a possible case that a project has been successfully imported from external model and after
@@ -57,7 +57,7 @@ public class JpsGradleDependenciesEnumerationHandler extends JpsJavaDependencies
@Override
public boolean shouldProcessDependenciesRecursively() {
return false;
return !myResolveModulePerSourceSet;
}
public static class GradleFactory extends Factory {
@@ -86,7 +86,7 @@ public class GradleOrderEnumeratorHandler extends OrderEnumerationHandler {
@Override
public boolean shouldProcessDependenciesRecursively() {
return false;
return !myResolveModulePerSourceSet;
}
@Override