Fix dependencies to the cross-project tasks
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
434bbafe58
commit
555e9674b2
+1
-2
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user