New Type Inference in Kotlin 1.3.0-rc-190

adding following options to the gradle script will fix the issue:

afterEvaluate {
    tasks.withType(KotlinCompile::class)
        .forEach {
            it.kotlinOptions { freeCompilerArgs = listOf("-Xnew-inference") }
        }
}