Make :kotlin-test-js:distJs depends on compileKotlin2Js to avoid running the task too early
This commit is contained in:
@@ -43,6 +43,7 @@ artifacts {
|
|||||||
}
|
}
|
||||||
|
|
||||||
task distJs(type: Copy) {
|
task distJs(type: Copy) {
|
||||||
|
dependsOn(compileKotlin2Js)
|
||||||
from(compileKotlin2Js.kotlinOptions.outputFile)
|
from(compileKotlin2Js.kotlinOptions.outputFile)
|
||||||
into "$distDir/js"
|
into "$distDir/js"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user