Fix dependencies to the cross-project tasks

This commit is contained in:
Ilya Chernikov
2018-01-16 12:49:12 +01:00
committed by Vyacheslav Gerasimov
parent 434bbafe58
commit 555e9674b2
12 changed files with 11 additions and 32 deletions
+1 -2
View File
@@ -355,14 +355,13 @@ task<Copy>("dist") {
}
val compilerCopyTask = task<Copy>("idea-plugin-copy-compiler") {
dependsOnTaskIfExistsRec("dist")
shouldRunAfter(":dist")
into(ideaPluginDir)
from(distDir) { include("kotlinc/**") }
}
task<Copy>("ideaPlugin") {
dependsOn(compilerCopyTask)
dependsOnTaskIfExistsRec("idea-plugin")
shouldRunAfter(":prepare:idea-plugin:idea-plugin")
into("$ideaPluginDir/lib")
}