I have the simplest gradle project configured using intellij for kotlin 1.2.10. Here is my build.gradle file:
buildscript { ext.kotlin_version = \'1.2.10
Please check if you have the following three stuff set in idea:
kotlinOptions { jvmTarget = '1.8' }
Check the relevant Idea preferences
Check the project Facets