Attach JPS plugin modules to the project model

This commit is contained in:
Nikita Bobko
2021-12-22 16:12:28 +01:00
parent 208e271b4e
commit 047272e56f
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ extra["compilerModulesForJps"] = listOf(
":compiler:frontend.java",
":core:metadata",
":core:metadata.jvm",
":idea:idea-jps-common",
":jps:jps-common",
":kotlin-preloader",
":compiler:util",
":compiler:config",
+1 -4
View File
@@ -17,10 +17,7 @@ dependencies {
compile(project(":compiler:frontend.java"))
compile(project(":js:js.frontend"))
compile(projectRuntimeJar(":kotlin-preloader"))
compile(project(":idea:idea-jps-common"))
Platform[193].orLower {
compileOnly(intellijDep()) { includeJars("openapi", rootProject = rootProject) }
}
compile(project(":jps:jps-common"))
compileOnly(intellijDep()) {
includeJars("jdom", "trove4j", "jps-model", "platform-api", "util", "asm-all", rootProject = rootProject)
}
@@ -1,3 +1,3 @@
idePluginDependency {
publishProjectJars(listOf(":idea:idea-jps-common"))
publishProjectJars(listOf(":jps:jps-common"))
}
@@ -2,7 +2,7 @@ idePluginDependency {
@Suppress("UNCHECKED_CAST")
val compilerComponents = rootProject.extra["compilerModulesForJps"] as List<String>
val otherProjects = listOf(":kotlin-daemon-client", ":jps-plugin", ":idea:idea-jps-common", ":kotlin-reflect")
val otherProjects = listOf(":kotlin-daemon-client", ":jps:jps-plugin", ":jps:jps-common", ":kotlin-reflect")
publishProjectJars(compilerComponents + otherProjects, libraryDependencies = listOf(protobufFull()))
}
+3
View File
@@ -486,6 +486,9 @@ if (attachedIntellijVersion == "212") { // Latest available platform in scope of
intellij "jvm-run-configurations/kotlin.jvm-run-configurations.iml"
}
include ":jps:jps-common",
":jps:jps-plugin"
include ":generators:analysis-api-generator",
":analysis",
":analysis:low-level-api-fir",