-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Description
Sébastien Deleuze opened SPR-15183 and commented
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:
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
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.
Issue Links:
- Upgrade to Kotlin 1.1-beta [SPR-15100] #19667 Upgrade to Kotlin 1.1-beta
Referenced from: commits 692e432
Metadata
Metadata
Assignees
Labels
type: taskA general taskA general task