Make :kotlin-test-js:distJs depends on compileKotlin2Js to avoid running the task too early

This commit is contained in:
Zalim Bashorov
2017-10-02 23:03:50 +03:00
parent 205df7b1f3
commit eb1c76ecc4
+1
View File
@@ -43,6 +43,7 @@ artifacts {
}
task distJs(type: Copy) {
dependsOn(compileKotlin2Js)
from(compileKotlin2Js.kotlinOptions.outputFile)
into "$distDir/js"
}