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:
@@ -244,6 +244,8 @@ extra["compilerModules"] =
|
|||||||
|
|
||||||
|
|
||||||
extra["compilerModulesForJps"] = listOf(
|
extra["compilerModulesForJps"] = listOf(
|
||||||
|
":kotlin-daemon-client",
|
||||||
|
":kotlin-reflect",
|
||||||
":kotlin-build-common",
|
":kotlin-build-common",
|
||||||
":kotlin-util-io",
|
":kotlin-util-io",
|
||||||
":kotlin-util-klib",
|
":kotlin-util-klib",
|
||||||
|
|||||||
@@ -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:jps-plugin", ":jps:jps-common", ":kotlin-reflect")
|
val otherProjects = listOf(":jps:jps-plugin", ":jps:jps-common")
|
||||||
|
|
||||||
publishProjectJars(compilerComponents + otherProjects, libraryDependencies = listOf(protobufFull()))
|
publishProjectJars(compilerComponents + otherProjects, libraryDependencies = listOf(protobufFull()))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user