Attach JPS plugin modules to the project model
This commit is contained in:
+1
-1
@@ -261,7 +261,7 @@ extra["compilerModulesForJps"] = listOf(
|
|||||||
":compiler:frontend.java",
|
":compiler:frontend.java",
|
||||||
":core:metadata",
|
":core:metadata",
|
||||||
":core:metadata.jvm",
|
":core:metadata.jvm",
|
||||||
":idea:idea-jps-common",
|
":jps:jps-common",
|
||||||
":kotlin-preloader",
|
":kotlin-preloader",
|
||||||
":compiler:util",
|
":compiler:util",
|
||||||
":compiler:config",
|
":compiler:config",
|
||||||
|
|||||||
@@ -17,10 +17,7 @@ dependencies {
|
|||||||
compile(project(":compiler:frontend.java"))
|
compile(project(":compiler:frontend.java"))
|
||||||
compile(project(":js:js.frontend"))
|
compile(project(":js:js.frontend"))
|
||||||
compile(projectRuntimeJar(":kotlin-preloader"))
|
compile(projectRuntimeJar(":kotlin-preloader"))
|
||||||
compile(project(":idea:idea-jps-common"))
|
compile(project(":jps:jps-common"))
|
||||||
Platform[193].orLower {
|
|
||||||
compileOnly(intellijDep()) { includeJars("openapi", rootProject = rootProject) }
|
|
||||||
}
|
|
||||||
compileOnly(intellijDep()) {
|
compileOnly(intellijDep()) {
|
||||||
includeJars("jdom", "trove4j", "jps-model", "platform-api", "util", "asm-all", rootProject = rootProject)
|
includeJars("jdom", "trove4j", "jps-model", "platform-api", "util", "asm-all", rootProject = rootProject)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
idePluginDependency {
|
idePluginDependency {
|
||||||
publishProjectJars(listOf(":idea:idea-jps-common"))
|
publishProjectJars(listOf(":jps:jps-common"))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ idePluginDependency {
|
|||||||
@Suppress("UNCHECKED_CAST")
|
@Suppress("UNCHECKED_CAST")
|
||||||
val compilerComponents = rootProject.extra["compilerModulesForJps"] as List<String>
|
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()))
|
publishProjectJars(compilerComponents + otherProjects, libraryDependencies = listOf(protobufFull()))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -486,6 +486,9 @@ if (attachedIntellijVersion == "212") { // Latest available platform in scope of
|
|||||||
intellij "jvm-run-configurations/kotlin.jvm-run-configurations.iml"
|
intellij "jvm-run-configurations/kotlin.jvm-run-configurations.iml"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include ":jps:jps-common",
|
||||||
|
":jps:jps-plugin"
|
||||||
|
|
||||||
include ":generators:analysis-api-generator",
|
include ":generators:analysis-api-generator",
|
||||||
":analysis",
|
":analysis",
|
||||||
":analysis:low-level-api-fir",
|
":analysis:low-level-api-fir",
|
||||||
|
|||||||
Reference in New Issue
Block a user