Build: Fix premature configuration resolution in kotlin-test-js-it
This commit is contained in:
@@ -20,8 +20,10 @@ buildDir = "$projectDir/build"
|
||||
task populateNodeModules(type: Copy, dependsOn: compileKotlin2Js) {
|
||||
from compileKotlin2Js.destinationDir
|
||||
|
||||
configurations.testCompile.each {
|
||||
from zipTree(it.absolutePath).matching { include '*.js' }
|
||||
from {
|
||||
configurations.testCompile.collect {
|
||||
zipTree(it.absolutePath).matching { include '*.js' }
|
||||
}
|
||||
}
|
||||
|
||||
into "${buildDir}/node_modules"
|
||||
|
||||
Reference in New Issue
Block a user