Yep, added in the android block and applied on all
KotlinCompile
tasks as well. It actually works in runtime now as I wrote earlier, it’s just the debugger expression evaluator (which depends on IDEA Kotlin plugin I think) which prints such error instead of desired output. I don’t think the plugin respects gradle settings at all. Anyway thanks for response 🙂