[spellchecker] cleanup: remove unused dependencies from intellij.spellchecker to XML modules

These dependencies aren't used in code, and they shouldn't there since intellij.spellchecker.xml was extracted to a separate module. Also, this change is needed to avoid failures in JetBrainsGatewayIdeStructureTest after 'intellij.spellchecker' is added to Gateway (to fix AT-2832).

Explicit dependency on intellij.platform.backend is added to ensure that the module isn't included in the frontend process (before dependency on intellij.platform.backend came as transitive).

GitOrigin-RevId: 75e55fda55205b8cc10ff08b93a7b2af1aefee43
This commit is contained in:
Nikolay Chashnikov
2025-06-17 18:50:51 +00:00
committed by intellij-monorepo-bot
parent 7012107f2f
commit f367baf2d6
3 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -35,9 +35,7 @@ jvm_library(
"//platform/platform-impl:ide-impl",
"//platform/editor-ui-ex:editor-ex",
"//platform/projectModel-api:projectModel",
"//xml/openapi:xml",
"//platform/refactoring",
"//xml/dom-openapi:dom",
"@lib//:guava",
"//platform/statistics",
"//libraries/ai.grazie.spell.gec.engine.local",
@@ -51,6 +49,7 @@ jvm_library(
runtime_deps = [
":spellchecker_resources",
":spellchecker_resources_1",
"//platform/backend",
]
)
@@ -71,11 +70,9 @@ jvm_library(
"//platform/platform-impl:ide-impl_test_lib",
"//platform/editor-ui-ex:editor-ex",
"//platform/projectModel-api:projectModel",
"//xml/openapi:xml",
"//platform/testFramework",
"//platform/testFramework:testFramework_test_lib",
"//platform/refactoring",
"//xml/dom-openapi:dom",
"@lib//:guava",
"//platform/statistics",
"//platform/statistics:statistics_test_lib",
+1 -2
View File
@@ -22,10 +22,9 @@
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
<orderEntry type="module" module-name="intellij.platform.editor.ex" />
<orderEntry type="module" module-name="intellij.platform.projectModel" />
<orderEntry type="module" module-name="intellij.xml" />
<orderEntry type="module" module-name="intellij.platform.backend" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.refactoring" />
<orderEntry type="module" module-name="intellij.xml.dom" />
<orderEntry type="library" name="Guava" level="project" />
<orderEntry type="module" module-name="intellij.platform.statistics" />
<orderEntry type="module" module-name="intellij.libraries.ai.grazie.spell.gec.engine.local" />
@@ -1,6 +1,7 @@
<idea-plugin>
<module value="com.intellij.modules.spellchecker"/>
<dependencies>
<module name="intellij.platform.backend"/>
<module name="intellij.libraries.lucene.common"/>
<module name="intellij.libraries.ai.grazie.spell.gec.engine.local"/>
</dependencies>