adding following options to the gradle script will fix the issue:
afterEvaluate {
tasks.withType(KotlinCompile::class)
.forEach {
it.kotlinOptions { freeCompilerArgs = listOf("-Xnew-inference") }
}
}
adding following options to the gradle script will fix the issue:
afterEvaluate {
tasks.withType(KotlinCompile::class)
.forEach {
it.kotlinOptions { freeCompilerArgs = listOf("-Xnew-inference") }
}
}