According to https://github.com/gradle/gradle-script-kotlin/tree/master/samples, one should be able to use vanilla Intellij 2017.1.4 and vanilla Kotlin plugin 1.1.2-5 to open a
build.gradle.kts-based project. I tried to open the
hello-world sample project in Intellij. While command-line
./gradlew clean build works and produces the .jar file properly, opening the
build.gradle.kts file in Intellij will make it all red and autocompletion/navigation/documentation doesn't work. Please, what further steps do I need to take, for the
build.gradle.kts to work properly?
I have restarted IDEA couple of times, but it didn't helped to resolve the issue.