Build: Use sync task for copying idea plugin to the output

It will prevent files from previous builds remain in the target directory
Now we can remove `cleanArtifacts` kostyl from teamcity build
This commit is contained in:
Vyacheslav Gerasimov
2019-04-11 16:30:54 +03:00
parent 478208b070
commit d6e2b5066b
+1 -1
View File
@@ -143,7 +143,7 @@ val jar = runtimeJar {
}
val ideaPluginDir: File by rootProject.extra
tasks.register<Copy>("ideaPlugin") {
tasks.register<Sync>("ideaPlugin") {
dependsOn(":dist")
into(File(ideaPluginDir, "lib"))