ilya.gorbunov
10/21/2017, 6:44 PMtasks.withType<VerificationTask> { }
because VerificationTask
is an interface unrelated to Task
, and the type parameter of withType
is constrained to be a subtype of Task
mkobit
10/21/2017, 11:44 PMilya.gorbunov
10/22/2017, 2:51 AMtasks.withType(VerificationTask::class.java as Class<Task>) {
(this as VerificationTask).ignoreFailures = ignoreTestFailures
}
ilya.gorbunov
10/25/2017, 7:27 PM