don't export intellij.terminal

GitOrigin-RevId: 6b3ac4f9d60a7a63862b340b7876f8faa49c392f
This commit is contained in:
Vladimir Krivosheev
2025-05-22 08:58:50 +00:00
committed by intellij-monorepo-bot
parent 71da5a1955
commit 574994d959
12 changed files with 11 additions and 15 deletions
+3
View File
@@ -17,6 +17,7 @@ jvm_library(
"//plugins/terminal",
"//platform/core-api:core",
"//java/execution/impl",
"//plugins/terminal/completion",
"//platform/lang-impl",
],
runtime_deps = [":terminal_resources"]
@@ -44,6 +45,8 @@ jvm_library(
"//platform/testFramework",
"//platform/testFramework:testFramework_test_lib",
"//java/execution/impl",
"//plugins/terminal/completion",
"//plugins/terminal/completion:completion_test_lib",
"//plugins/terminal",
"//plugins/terminal:terminal_test_lib",
]
@@ -12,6 +12,7 @@
<orderEntry type="module" module-name="intellij.terminal" />
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.java.execution.impl" />
<orderEntry type="module" module-name="intellij.terminal.completion" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
</component>
</module>
@@ -13,6 +13,7 @@
<orderEntry type="module" module-name="intellij.platform.tests" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.execution.impl" scope="TEST" />
<orderEntry type="module" module-name="intellij.terminal.completion" scope="TEST" />
<orderEntry type="module" module-name="intellij.terminal" scope="TEST" />
</component>
</module>
@@ -15,7 +15,7 @@ class JavaShellCommandContext private constructor(private val propertyMap: Map<S
companion object {
private const val PROPERTY_SEPARATOR = " = "
const val JAVA_SHOW_SETTINGS_PROPERTIES_VERSION_COMMAND = "java -XshowSettings:properties -version"
const val JAVA_SHOW_SETTINGS_PROPERTIES_VERSION_COMMAND: String = "java -XshowSettings:properties -version"
suspend fun create(context: ShellRuntimeContext): JavaShellCommandContext? {
val result = context.runShellCommand(JAVA_SHOW_SETTINGS_PROPERTIES_VERSION_COMMAND)