Join GitHub today
Generate Java 8 bytecode with Kotlin compiler [SPR-15183] #19749
Kotlin 1.1 compiler supports generating Java 8 bytecode but generates by default Java 6 bytecode.
It can produces Java 8 bytecode with the following Gradle configuration:
It works flawlessly with Gradle but generate some errors in IDEA with default configuration. This should be fixed by KT-15819 so I prefer to wait a new Kotlin 1.1 build that fixes this issue before fixing this issue.
Referenced from: commits 692e432