mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
IJPL-201509 Fixed dependencies collection order
(cherry picked from commit 2402e2b07f97d8b53b4869403b49fea96ac4288b) GitOrigin-RevId: d91076edf9c7164e330690df32cabcd139765f67
This commit is contained in:
committed by
intellij-monorepo-bot
parent
39e12535b8
commit
ae237b0bb1
@@ -264,10 +264,10 @@ private fun collectDirectDependenciesInNewFormat(
|
||||
}
|
||||
}
|
||||
for (item in module.moduleDependencies.plugins) {
|
||||
val descriptor = idMap.get(item.id.idString)
|
||||
val targetModule = idMap.get(item.id.idString)
|
||||
// fake v1 module maybe located in a core plugin
|
||||
if (descriptor != null && descriptor.pluginId != PluginManagerCore.CORE_ID) {
|
||||
dependenciesCollector.add(descriptor)
|
||||
if (targetModule != null && (targetModule is ContentModuleDescriptor || targetModule.pluginId != PluginManagerCore.CORE_ID)) {
|
||||
dependenciesCollector.add(targetModule)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user