cleanup: remove unused dependencies on intellij.platform.inspect module (IJPL-200936)

This is needed to convert it to a content module and declare a runtime dependency only where needed.
A direct dependency is added to intellij.idea.community.main to run tests from the module. Also, some dependencies that came as transitive dependencies before now are added explicitly to language-server.project-import module.

GitOrigin-RevId: 406d8bb08840a6feed01e1513c1ed72fc060f090
This commit is contained in:
Nikolay Chashnikov
2025-08-11 17:20:12 +02:00
committed by intellij-monorepo-bot
parent 006eaae1ba
commit 1222e282ae
10 changed files with 3 additions and 9 deletions

View File

@@ -350,6 +350,8 @@ jvm_library(
"//platform/whatsNew:whatsNew_test_lib",
"//platform/remoteDev-util",
"//platform/remoteDev-util:remoteDev-util_test_lib",
"//platform/inspect",
"//platform/inspect:inspect_test_lib",
"//wintools",
"//wintools:wintools_test_lib",
"//python/python-exec-service:community-execService",

View File

@@ -236,6 +236,7 @@
<orderEntry type="module" module-name="intellij.searchEverywhereMl.ranking.vcs" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.searchEverywhereMl.ranking.yaml" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.searchEverywhereMl.typos" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.inspect" scope="TEST" />
<orderEntry type="module" module-name="intellij.grazie" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.community.wintools" scope="TEST" />
<orderEntry type="module" module-name="intellij.compose.ide.plugin" scope="RUNTIME" />

View File

@@ -77,7 +77,6 @@ jvm_library(
"//plugins/copyright",
"@lib//:stream_ex",
"//platform/statistics",
"//platform/inspect",
"@lib//:fastutil-min",
"//platform/core-ui",
"//platform/code-style-impl:codeStyle-impl",

View File

@@ -100,7 +100,6 @@
<orderEntry type="module" module-name="intellij.copyright" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.platform.statistics" exported="" />
<orderEntry type="module" module-name="intellij.platform.inspect" />
<orderEntry type="library" name="fastutil-min" level="project" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.codeStyle.impl" />

View File

@@ -38,7 +38,6 @@ jvm_library(
"@lib//:clikt",
"@lib//:gson",
"@lib//:commons-text",
"//platform/inspect",
"//platform/warmup",
"@lib//:kotlinx-coroutines-core",
"@lib//:jetbrains-annotations",

View File

@@ -33,7 +33,6 @@
<orderEntry type="library" name="clikt" level="project" />
<orderEntry type="library" name="gson" level="project" />
<orderEntry type="library" name="commons-text" level="project" />
<orderEntry type="module" module-name="intellij.platform.inspect" />
<orderEntry type="module" module-name="intellij.platform.warmup" />
<orderEntry type="library" name="kotlinx-coroutines-core" level="project" />
<orderEntry type="library" name="jetbrains-annotations" level="project" />

View File

@@ -45,7 +45,6 @@ jvm_library(
"@lib//:ion",
"@lib//:stream_ex",
"//platform/statistics",
"//platform/inspect",
"@lib//:fastutil-min",
"@lib//:commons-cli",
"//platform/workspace/storage",
@@ -77,7 +76,6 @@ jvm_library(
"@lib//:slf4j-api",
"@lib//:slf4j-jdk14",
"@lib//:gradle",
"//platform/inspect",
],
runtime_deps = [
":gradle_resources",

View File

@@ -37,7 +37,6 @@
<orderEntry type="library" name="ion" level="project" />
<orderEntry type="library" name="StreamEx" level="project" />
<orderEntry type="module" module-name="intellij.platform.statistics" />
<orderEntry type="module" module-name="intellij.platform.inspect" exported="" />
<orderEntry type="library" name="fastutil-min" level="project" />
<orderEntry type="library" name="commons-cli" level="project" />
<orderEntry type="module" module-name="intellij.platform.workspace.storage" />

View File

@@ -31,7 +31,6 @@ jvm_library(
"//java/idea-ui:ui",
"//python/pluginCore/impl",
"//python/python-psi-impl:psi-impl",
"//platform/inspect",
"//platform/core-ui",
"//platform/util/jdom",
"//python/python-core-impl:community-core-impl",

View File

@@ -26,7 +26,6 @@
<orderEntry type="module" module-name="intellij.java.ui" />
<orderEntry type="module" module-name="intellij.python.community.plugin.impl" />
<orderEntry type="module" module-name="intellij.python.psi.impl" />
<orderEntry type="module" module-name="intellij.platform.inspect" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="module" module-name="intellij.python.community.core.impl" />