mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-112870 Changing a library's scope from compile to testCompile in build.gradle does not change IDEA module settings
This commit is contained in:
+4
-3
@@ -220,9 +220,10 @@ public class LibraryDependencyDataService extends AbstractDependencyDataService<
|
||||
}
|
||||
}
|
||||
else if (entry instanceof LibraryOrderEntry) {
|
||||
String libraryName = ((LibraryOrderEntry)entry).getLibraryName();
|
||||
LibraryDependencyData existing = projectLibrariesToImport.remove(libraryName);
|
||||
if (existing != null) {
|
||||
final LibraryOrderEntry libraryOrderEntry = (LibraryOrderEntry)entry;
|
||||
final String libraryName = libraryOrderEntry.getLibraryName();
|
||||
final LibraryDependencyData existing = projectLibrariesToImport.remove(libraryName);
|
||||
if (existing != null && libraryOrderEntry.getScope() == existing.getScope()) {
|
||||
toImport.remove(existing);
|
||||
}
|
||||
else if (!hasUnresolvedLibraries) {
|
||||
|
||||
Reference in New Issue
Block a user