mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-104500 Gradle: Allow to reuse common logic for other external systems
Use external system-provided library name for module-level libraries
This commit is contained in:
+1
-1
@@ -162,7 +162,7 @@ public class LibraryDependencyDataService extends AbstractDependencyDataService<
|
||||
for (LibraryDependencyData dependencyData : toImport) {
|
||||
switch (dependencyData.getLevel()) {
|
||||
case MODULE:
|
||||
@SuppressWarnings("ConstantConditions") Library moduleLib = moduleLibraryTable.createLibrary(null);
|
||||
@SuppressWarnings("ConstantConditions") Library moduleLib = moduleLibraryTable.createLibrary(dependencyData.getName());
|
||||
Library.ModifiableModel libModel = moduleLib.getModifiableModel();
|
||||
try {
|
||||
Map<OrderRootType, Collection<File>> files = myLibraryManager.prepareLibraryFiles(dependencyData.getTarget());
|
||||
|
||||
Reference in New Issue
Block a user