In maven there is Kotlin 1.1.2-4, yet the Intellij plugin is only 1.1.2-2 and complains that I should use 1.1.2-2. Which version should I use? Thanks!
Version 1.1.2-4 has some bug fixes that may be helpful for you. It works fine with the intellij plugin (despite it warning)
Thank you for the reply, it just felt weird since there are artifacts missing here and there for 1.1.2-4, for example this Gradle stanza won't work:
id "org.jetbrains.kotlin.jvm" version "1.1.2-4"
I think the issue you're seeing is because 1.1.2-2 is the latest on the Gradle repo (https://plugins.gradle.org/plugin/org.jetbrains.kotlin.jvm). Well, huh. Just checked that and it's been updated on 13 June. I ran into the same issue a couple of days ago and when I checked the Gradle site, it was still 1.1.2-2.