IDE, wizards, kotlin jvm server / js client: fix jvmJar configuration

There should be `from(new File(jsBrowserWebpack.entry.name, jsBrowserWebpack.outputPath))`
instead of `from(jsBrowserWebpack.outputPath)in jvmJar task configuration`.

`jsBrowserWebpack.outputPath` may be (and will) inside the same dir as
jvmJar. So jvmJar build hangs.
This commit is contained in:
Sergey Rostov
2019-06-09 14:31:13 +03:00
parent 41347abf56
commit 92be12f27b
@@ -264,7 +264,7 @@ class KotlinGradleWebMultiplatformModuleBuilder : KotlinGradleAbstractMultiplatf
jvmJar {
dependsOn(jsBrowserWebpack)
from(jsBrowserWebpack.outputPath)
from(new File(jsBrowserWebpack.entry.name, jsBrowserWebpack.outputPath))
}
task run(type: JavaExec, dependsOn: [jvmJar]) {