Hi. After an exhaustive search through the Web, I cannot find the suitable answer. I am trying to set the ignoreFailures property in a build.gradle.kts file in order to continue the execution of Android instrumentation tests, no matter failure occurrences. I found some samples indicating the property for Test task. For instance:
tasks.withType {
ignoreFailures = true
}
However, the Test task refers to unit tests (tests that not need to run on emulator/device). I need to set the ignoreFailures property for instrumentation tests, for example, those related to connectedAndroidTest task. In traditional gradle build files, a known solution to this task in a more generic form (independent of the product flavor) is: