[Gradle, JS] Use one folder for sync tasks
This commit is contained in:
committed by
TeamCityServer
parent
17da240910
commit
8ffe70cb4d
+1
-1
@@ -58,7 +58,7 @@ class Kotlin2JsIrGradlePluginIT : AbstractKotlin2JsGradlePluginIT(true) {
|
|||||||
|
|
||||||
assertTasksExecuted(":compileProductionExecutableKotlinJs")
|
assertTasksExecuted(":compileProductionExecutableKotlinJs")
|
||||||
|
|
||||||
assertFileExists("build/js/packages/kotlin-js-nodejs/kotlin/productionExecutable/kotlin-js-nodejs.js")
|
assertFileExists("build/js/packages/kotlin-js-nodejs/kotlin/kotlin-js-nodejs.js")
|
||||||
}
|
}
|
||||||
|
|
||||||
File("${projectDir.canonicalPath}/src").deleteRecursively()
|
File("${projectDir.canonicalPath}/src").deleteRecursively()
|
||||||
|
|||||||
+1
-2
@@ -110,7 +110,6 @@ constructor(
|
|||||||
.resolve(COMPILE_SYNC)
|
.resolve(COMPILE_SYNC)
|
||||||
.resolve(compilation.name)
|
.resolve(compilation.name)
|
||||||
.resolve(binary.name)
|
.resolve(binary.name)
|
||||||
.resolve(binary.mode.name.toLowerCase())
|
|
||||||
.resolve(npmProject.main)
|
.resolve(npmProject.main)
|
||||||
.canonicalPath
|
.canonicalPath
|
||||||
|
|
||||||
@@ -133,7 +132,7 @@ constructor(
|
|||||||
task.from(project.tasks.named(compilation.processResourcesTaskName))
|
task.from(project.tasks.named(compilation.processResourcesTaskName))
|
||||||
|
|
||||||
task.into(
|
task.into(
|
||||||
npmProject.dist.resolve(binary.name)
|
npmProject.dist
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user