From f367baf2d6060e67153cf757a1021afedb2c9e4d Mon Sep 17 00:00:00 2001 From: Nikolay Chashnikov Date: Tue, 17 Jun 2025 14:23:55 +0200 Subject: [PATCH] [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 --- spellchecker/BUILD.bazel | 5 +---- spellchecker/intellij.spellchecker.iml | 3 +-- spellchecker/resources/intellij.spellchecker.xml | 1 + 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/spellchecker/BUILD.bazel b/spellchecker/BUILD.bazel index a2ec0b811aa4..d5f5e84e561b 100644 --- a/spellchecker/BUILD.bazel +++ b/spellchecker/BUILD.bazel @@ -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", diff --git a/spellchecker/intellij.spellchecker.iml b/spellchecker/intellij.spellchecker.iml index 265645096fc3..d07bca17115d 100644 --- a/spellchecker/intellij.spellchecker.iml +++ b/spellchecker/intellij.spellchecker.iml @@ -22,10 +22,9 @@ - + - diff --git a/spellchecker/resources/intellij.spellchecker.xml b/spellchecker/resources/intellij.spellchecker.xml index 2f44c22b0da6..00be7d63f33e 100644 --- a/spellchecker/resources/intellij.spellchecker.xml +++ b/spellchecker/resources/intellij.spellchecker.xml @@ -1,6 +1,7 @@ +