Hello! is it possible to disable iOS tests from in...
# ios
m
Hello! is it possible to disable iOS tests from inside
build.gradle
file? I am OK with running my tests just on JVM. However the
build
task seem to always run the iOS tests as well. (answer in thread 🧵)
Copy code
afterEvaluate {
    if (System.getProperty("os.name").lowercase().contains("mac")) {
        tasks.getByName("compileTestKotlinIosArm64").enabled = false
        tasks.getByName("compileTestKotlinIosSimulatorArm64").enabled = false
        tasks.getByName("compileTestKotlinIosX64").enabled = false
    }
}