Move compilerComponents project list to the root project
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
idePluginDependency {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
val compilerComponentProjects = project(":kotlin-jps-plugin").extra["compilerComponents"] as List<String>
|
||||
val compilerComponents = rootProject.extra["compilerModulesForJps"] as List<String>
|
||||
|
||||
val otherProjects = listOf(":kotlin-daemon-client")
|
||||
|
||||
publishProjectJars(compilerComponentProjects + otherProjects)
|
||||
publishProjectJars(compilerComponents + otherProjects)
|
||||
}
|
||||
@@ -8,10 +8,11 @@ idePluginDependency {
|
||||
val jar: Jar by tasks
|
||||
|
||||
jar.apply {
|
||||
val distKotlincTask = project(":kotlin-compiler").tasks.getByName("distKotlinc")
|
||||
|
||||
dependsOn(distKotlincTask)
|
||||
from(distKotlincTask)
|
||||
dependsOn(":kotlin-compiler:distKotlinc")
|
||||
// from {
|
||||
// val distKotlincTask = project(":kotlin-compiler").tasks.getByName("distKotlinc")
|
||||
// (distKotlincTask)
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user