Refactoring: "suck in" kotlin-reflect and kotlin-daemon-client into compilerModulesForJps

This commit places all dependencies of JPS plugin into a single place --
`compilerModulesForJps`. I will need this small refactoring for the next
commits.

This commit doesn't change any logic because
`prepare/ide-plugin-dependencies/kotlin-jps-plugin-classpath/build.gradle.kts`
is the only `compilerModulesForJps` user right now.
This commit is contained in:
Nikita Bobko
2022-05-27 07:27:53 +02:00
parent 0cb256a999
commit 6bbd007560
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -244,6 +244,8 @@ extra["compilerModules"] =
extra["compilerModulesForJps"] = listOf(
":kotlin-daemon-client",
":kotlin-reflect",
":kotlin-build-common",
":kotlin-util-io",
":kotlin-util-klib",
@@ -2,7 +2,7 @@ idePluginDependency {
@Suppress("UNCHECKED_CAST")
val compilerComponents = rootProject.extra["compilerModulesForJps"] as List<String>
val otherProjects = listOf(":kotlin-daemon-client", ":jps:jps-plugin", ":jps:jps-common", ":kotlin-reflect")
val otherProjects = listOf(":jps:jps-plugin", ":jps:jps-common")
publishProjectJars(compilerComponents + otherProjects, libraryDependencies = listOf(protobufFull()))
}