I've got this error when I used "all"
None of the following functions can be called with the arguments
supplied:
and by applying this code the error is gone :
tasks.withType<Test>().all(KotlinClosure1<Test, Test>({
the complete code is here :
testOptions.unitTests.apply {
tasks.withType<Test>().all(KotlinClosure1<Test, Test>({
apply {
testLogging.exceptionFormat = TestExceptionFormat.FULL
testLogging.events = setOf(
TestLogEvent.PASSED,
TestLogEvent.FAILED,
TestLogEvent.STANDARD_ERROR,
TestLogEvent.STANDARD_OUT,
TestLogEvent.SKIPPED
)
testLogging.showCauses = true
testLogging.showExceptions = true
}
}, this))
}
includeAndroidResources
? – Sharmainesharman