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:
+1
-1
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user