Idea keeps switching compile target from 1.8 to 1.6 for Kotlin
I am working on a new Kotlin project based on Maven and JDK 8 using Intellij Idea. Everything is great except after each Maven reimport the compile target switches from 1.8 to 1.6 for some reason.
I literally tried everything from the 2 best answers to the
same problem (though from Java world) but nothing worked for me. I also migrated to Gradle with hope of...