mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[build-scripts] Use kotlinx-serialization (not gson library) in ArchivedCompilationContextUtil (IJI-3011)
Also converts ArchivedCompilationContextUtil.java file to ArchivedCompilationContextUtil.kt file. GitOrigin-RevId: 2e08a242bda539415467d17ae86e01140e84ce9d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
741459a2ef
commit
b8dc8eb715
+1
-1
@@ -159,7 +159,7 @@ private fun findClassesRoots(relativePath: String, plugin: IdeaPluginDescriptor,
|
||||
val fileName = FileUtilRt.getNameWithoutExtension(PathUtilRt.getFileName(relativePath))
|
||||
//try restoring module name from JAR name automatically generated by BaseLayout.convertModuleNameToFileName
|
||||
val moduleName = if (relativePath.startsWith("modules/")) fileName else "intellij." + fileName.replace('-', '.')
|
||||
val mapping = ArchivedCompilationContextUtil.getArchivedCompiledClassesMapping()
|
||||
val mapping = ArchivedCompilationContextUtil.archivedCompiledClassesMapping
|
||||
if (mapping != null) {
|
||||
// baseFile is ".../idea-compile-parts-v2/production/<module-name>/"
|
||||
// We should take ".../idea-compile-parts-v2/production/<module-name-2>/<hash>.jar"
|
||||
|
||||
Reference in New Issue
Block a user