IJPL-184662 Added necessary backend dependencies to the modules

GitOrigin-RevId: 76a452678d6bfad91eb9aa5d38bfe659be1a0287
This commit is contained in:
Alexandr Evstigneev
2025-07-19 07:28:23 +00:00
committed by intellij-monorepo-bot
parent 790d3d01cd
commit 9e6f560d89
13 changed files with 26 additions and 2 deletions
@@ -1,4 +1,6 @@
<idea-plugin>
<module value="com.intellij.modules.langInjection.backend"/>
<dependencies>
<module name="intellij.platform.backend"/>
<module name="intellij.platform.langInjection"/>
+7 -1
View File
@@ -1,5 +1,5 @@
### auto-generated section `build intellij.java.langInjection` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources")
jvm_resources(
name = "java-langInjection_resources",
@@ -7,6 +7,11 @@ jvm_resources(
strip_prefix = "resources"
)
jvm_provided_library(
name = "backend_provided",
lib = "//plugins/IntelliLang/backend"
)
jvm_library(
name = "java-langInjection",
module_name = "intellij.java.langInjection",
@@ -29,6 +34,7 @@ jvm_library(
"//plugins/IntelliLang:langInjection",
"//platform/core-ui",
"//platform/util/jdom",
":backend_provided",
],
runtime_deps = [
":java-langInjection_resources",
@@ -25,6 +25,7 @@
<orderEntry type="module" module-name="intellij.java.langInjection.jps" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.core.ui" />
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
<orderEntry type="module" module-name="intellij.platform.langInjection.backend" scope="PROVIDED" />
</component>
<component name="copyright">
<Base>
@@ -2,6 +2,7 @@
<dependencies>
<plugin id="com.intellij.java"/>
<module name="intellij.platform.langInjection"/>
<module name="intellij.platform.langInjection.backend"/>
<module name="intellij.regexp"/>
<module name="intellij.platform.backend"/>
</dependencies>
+1
View File
@@ -184,6 +184,7 @@ jvm_library(
"//plugins/kotlin/base/scripting.k1",
"//plugins/kotlin/base/scripting.k1:scripting.k1_test_lib",
"//plugins/IntelliLang/plugin",
"//plugins/IntelliLang/backend",
],
runtime_deps = [
"//plugins/kotlin/gradle/gradle",
@@ -188,5 +188,6 @@
<orderEntry type="module" module-name="kotlin.jvm.k1" scope="TEST" />
<orderEntry type="module" module-name="kotlin.base.scripting.k1" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.langInjection.plugin" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.langInjection.backend" scope="TEST" />
</component>
</module>
+7 -1
View File
@@ -1,6 +1,6 @@
### auto-generated section `build kotlin.base.injection` start
load("//build:compiler-options.bzl", "create_kotlinc_options")
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources")
create_kotlinc_options(
name = "custom_kotlin-base-injection",
@@ -14,6 +14,11 @@ jvm_resources(
strip_prefix = "resources"
)
jvm_provided_library(
name = "backend_provided",
lib = "//plugins/IntelliLang/backend"
)
jvm_library(
name = "kotlin-base-injection",
module_name = "kotlin.base.injection",
@@ -43,6 +48,7 @@ jvm_library(
"//plugins/kotlin/base/psi",
"@lib//:kotlinc-analysis-api",
"//plugins/kotlin/base/analysis",
":backend_provided",
],
runtime_deps = [":kotlin-base-injection_resources"]
)
@@ -46,5 +46,6 @@
<orderEntry type="module" module-name="kotlin.base.psi" />
<orderEntry type="library" name="kotlinc.analysis-api" level="project" />
<orderEntry type="module" module-name="kotlin.base.analysis" />
<orderEntry type="module" module-name="intellij.platform.langInjection.backend" scope="PROVIDED" />
</component>
</module>
@@ -2,5 +2,6 @@
<dependencies>
<plugin id="org.intellij.intelliLang"/>
<module name="intellij.java.langInjection"/>
<module name="intellij.platform.langInjection.backend"/>
</dependencies>
</idea-plugin>
@@ -36,6 +36,7 @@ jvm_library(
"//plugins/IntelliLang:langInjection",
"//plugins/IntelliLang/plugin",
"@lib//:kotlinc-kotlin-compiler-common",
"//plugins/IntelliLang/backend",
]
)
### auto-generated section `build kotlin.base.injection.tests` end
@@ -38,5 +38,6 @@
<orderEntry type="module" module-name="intellij.platform.langInjection" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.langInjection.plugin" scope="TEST" />
<orderEntry type="library" scope="TEST" name="kotlinc.kotlin-compiler-common" level="project" />
<orderEntry type="module" module-name="intellij.platform.langInjection.backend" scope="TEST" />
</component>
</module>
+1
View File
@@ -99,6 +99,7 @@ jvm_library(
"//plugins/yaml:yaml_test_lib",
"//platform/searchEverywhere/shared:searchEverywhere",
"//platform/searchEverywhere/backend",
"//plugins/IntelliLang/backend",
],
runtime_deps = [
":backend_resources",
@@ -45,5 +45,6 @@
<orderEntry type="module" module-name="intellij.yaml" />
<orderEntry type="module" module-name="intellij.platform.searchEverywhere" />
<orderEntry type="module" module-name="intellij.platform.searchEverywhere.backend" />
<orderEntry type="module" module-name="intellij.platform.langInjection.backend" scope="TEST" />
</component>
</module>