Split compiler-for-ide jar into multiple jars

Needed for IDE to gradually control which plugin (FE1.0, FIR) on which jar may depend

Jars: Common, IR, FIR FE1.0 and PSI
This commit is contained in:
Ilya Kirillov
2021-09-06 14:47:30 +03:00
parent ae349846e1
commit da962895a8
7 changed files with 140 additions and 55 deletions
@@ -0,0 +1,23 @@
plugins {
kotlin("jvm")
}
val commonCompilerModules: Array<String> by rootProject.extra
val excludedCompilerModules = listOf(
":compiler:cli",
":compiler:javac-wrapper",
":compiler:incremental-compilation-impl"
)
val projects = commonCompilerModules.asList() - excludedCompilerModules + listOf(
":kotlin-compiler-runner",
":kotlin-preloader",
":daemon-common",
":kotlin-daemon-client"
)
publishJarsForIde(
projects = projects,
libraryDependencies = listOf(protobufFull())
)