File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed
javascript-build-logic/src/main/kotlin Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ kotlin {
1818 }
1919
2020 sourceSets {
21- val mobileDeviceTest by creating
22-
2321 val commonMain by getting
2422 val iosX64Main by getting
2523 val iosArm64Main by getting
@@ -36,18 +34,25 @@ kotlin {
3634 val iosArm64Test by getting
3735 val iosSimulatorArm64Test by getting
3836
37+ val commonTest by getting
38+
39+ val mobileDeviceTest by creating {
40+ dependsOn(commonTest)
41+ kotlin.srcDir(" src/mobileDeviceTest/kotlin" )
42+ }
3943 val iosTest by creating {
4044 iosX64Test.dependsOn(this )
4145 iosArm64Test.dependsOn(this )
4246 iosSimulatorArm64Test.dependsOn(this )
47+ dependsOn(mobileDeviceTest)
4348 }
44- val androidUnitTest by getting
45-
46- val commonTest by getting
47-
48- mobileDeviceTest.dependsOn(commonTest)
49- iosTest.dependsOn(mobileDeviceTest)
50- androidUnitTest.dependsOn(mobileDeviceTest)
5149 }
5250}
5351
52+ android {
53+ sourceSets {
54+ getByName(" androidTest" ) {
55+ java.srcDirs(" src/mobileDeviceTest/kotlin" ) // instrumented tests
56+ }
57+ }
58+ }
You can’t perform that action at this time.
0 commit comments