jean
11/15/2022, 9:31 PMinto
location
tasks.register<Copy>("copyIosTestResources") {
from("src/commonTest/resources")
into("build/bin/iosX64/debugTest/resources")
}
tasks.findByName("iosX64Test")!!.dependsOn("copyIosTestResources")
But if I try to do the same for my js target with this
tasks.register<Copy>("copyJsTestResources") {
from("src/commonTest/resources")
into("build/js/test/resources")
}
tasks.findByName("jsTest")!!.dependsOn("copyJsTestResources")
I tried a bunch of different values for into
but it doesn’t seem to work at all. Any idea why?Javier
11/15/2022, 9:35 PMjean
11/15/2022, 9:45 PMjava.lang.NullPointerException
so I supposed “jsTest” was the correct namejean
11/15/2022, 9:53 PM./gradlew jsTest
so I suppose it does exists yesVampire
11/15/2022, 11:02 PMjean
11/16/2022, 1:16 PMVampire
11/16/2022, 1:30 PMjean
11/16/2022, 4:20 PMcommonTest
directly?Vampire
11/16/2022, 4:26 PMVampire
11/16/2022, 4:27 PMjean
11/16/2022, 4:30 PMvgonda
11/16/2022, 5:17 PM