intellij.platform.kernel as a simple module (rather than V2 plugin)

This module is a core component of Rhizome - it's required for any interaction with Rhizome DB, creating entities, etc.
It was a V2 plugin as we wanted to make sure that only new V2 plugins will be able to use this.

We expected that it won't be much of a struggle, considering that every feature that would want to use Rhizome is going to be split into shared/backend/frontend modules (which could be V2 from the start).
However, we faced the issue that it's not possible to move some public API to V2 modules because it breaks backward compatibility, and therefore this API cannot depend on V2 module.

The first such issue was rewriting the progresses on Rhizome (RDCT-1444).
It's possible to create some interlayers to make it work without breaking compatibility and keeping kernel V2, but it was decided that it isn't worth it in such cases.

GitOrigin-RevId: 0488ca905bd145b2c3b6b2fa8481fa59b9f76529
This commit is contained in:
Kate Botsman
2024-07-31 18:20:56 +02:00
committed by intellij-monorepo-bot
parent 84d1549bd4
commit 733dd1a469
4 changed files with 2 additions and 4 deletions

View File

@@ -44,6 +44,7 @@ private val PLATFORM_API_MODULES = java.util.List.of(
"intellij.xml",
"intellij.xml.psi",
"intellij.xml.structureView",
"intellij.platform.kernel",
)
/**

View File

@@ -1,6 +1,6 @@
<idea-plugin package="com.intellij.platform.kernel.backend">
<dependencies>
<module name="intellij.platform.kernel"/>
<!--<module name="intellij.platform.kernel"/>-->
<plugin id="com.intellij.platform.experimental.backend"/>
</dependencies>

View File

@@ -1,2 +0,0 @@
<idea-plugin package="com.intellij.platform.kernel">
</idea-plugin>

View File

@@ -4,7 +4,6 @@
<module name="intellij.libraries.ktor.client"/>
<module name="intellij.libraries.ktor.client.cio"/>
<module name="intellij.platform.kernel"/>
<module name="intellij.platform.kernel.backend"/>
<!-- todo navbar is not essential-->
<module name="intellij.platform.navbar"/>