Refactoring: Split compilerModulesForJps into "embedded" and "maven"

This small refactoring is needed for the next commit.

This commit doesn't change any semantic.
This commit is contained in:
Nikita Bobko
2022-05-27 07:48:44 +02:00
parent 3569cdda38
commit 540164a691
4 changed files with 26 additions and 13 deletions
@@ -1,8 +1,10 @@
idePluginDependency {
@Suppress("UNCHECKED_CAST")
val compilerComponents = rootProject.extra["compilerModulesForJps"] as List<String>
val embeddedDependencies = rootProject.extra["kotlinJpsPluginEmbeddedDependencies"] as List<String>
@Suppress("UNCHECKED_CAST")
val mavenDependencies = rootProject.extra["kotlinJpsPluginMavenDependencies"] as List<String>
val otherProjects = listOf(":jps:jps-plugin", ":jps:jps-common")
publishProjectJars(compilerComponents + otherProjects, libraryDependencies = listOf(protobufFull()))
publishProjectJars(embeddedDependencies + mavenDependencies + otherProjects, libraryDependencies = listOf(protobufFull()))
}