4/5 Replace source dependency on kotlin-reflect with binary dependency

Review: https://jetbrains.team/p/kt/reviews/6753

Meaningful semantic change was splitted into 5 commits to simplify the
change review. Sinle commit would be too big.

Why replace source to binary: to get rid of kotlin-reflect in Kotlin
plugin artifact KTIJ-22276
This commit is contained in:
Nikita Bobko
2022-07-26 14:41:13 +02:00
parent e2cda2a272
commit 0a6dadd04d
6 changed files with 30 additions and 3 deletions
@@ -4,8 +4,12 @@ idePluginDependency {
val embeddedDependencies = rootProject.extra["kotlinJpsPluginEmbeddedDependencies"] as List<String>
@Suppress("UNCHECKED_CAST")
val mavenDependencies = rootProject.extra["kotlinJpsPluginMavenDependencies"] as List<String>
val mavenDependenciesLibs = rootProject.extra["kotlinJpsPluginMavenDependenciesNonTransitiveLibs"] as List<String>
val otherProjects = listOf(":jps:jps-plugin", ":jps:jps-common")
publishProjectJars(embeddedDependencies + mavenDependencies + otherProjects, libraryDependencies = listOf(protobufFull()))
publishProjectJars(
embeddedDependencies + mavenDependencies + otherProjects,
libraryDependencies = mavenDependenciesLibs + listOf(protobufFull())
)
}