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 {
176
176
val iosSimulatorArm64Main by getting
177
177
iosSimulatorArm64Main.dependsOn(iosMain)
178
178
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)
184
182
}
185
183
186
184
val jsMain by getting
187
185
}
188
186
189
187
if (! runIosTests) {
190
188
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 }
194
190
}
195
191
}
196
192
}
You can’t perform that action at this time.
0 commit comments