File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -176,21 +176,17 @@ kotlin {
176176 val iosSimulatorArm64Main by getting
177177 iosSimulatorArm64Main.dependsOn(iosMain)
178178
179- if (runIosTests) {
180- val iosTest by sourceSets.getting
181- val iosSimulatorArm64Test by sourceSets.getting
182- iosSimulatorArm64Test.dependsOn(iosTest)
183- }
179+ val iosTest by sourceSets.getting
180+ val iosSimulatorArm64Test by sourceSets.getting
181+ iosSimulatorArm64Test.dependsOn(iosTest)
184182 }
185183
186184 val jsMain by getting
187185 }
188186
189187 if (! runIosTests) {
190188 tasks.forEach {
191- if (it.name.contains(" ios" ) && it.name.contains(" test" )) {
192- it.onlyIf { false }
193- }
189+ if (it.name.contains(" ios" ) && it.name.contains(" test" )) { it.enabled = false }
194190 }
195191 }
196192}
You can’t perform that action at this time.
0 commit comments