pre release version problem with kotlin

Answered

Hello,

I try to use kotlin with intellij with the last version of the kotlin intellij plugin 

This is for being able to write gradle script using kotlin.

But that not working, I have this error message when i try to use the kotlin API

""Class ''{0}'' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler"

I use intellij 2016.3.4 and the kotlin toolkit plugin 1.1.0-rc-91-IJ2016.3-1 which is apparently the most recent I can have.

I use this exenple : https://github.com/gradle/gradle-script-kotlin/tree/master/samples/hello-kotlin

I have this error in the build.gradle.kts file but also in the src/main/kotlin/samples/helloworld.kt.

Does anyone has an idea ?

thanks

 

0
2 comments

Please use https://discuss.kotlinlang.org/ for Kotlin related questions.

0

Ok, i rewrite my post there

0

Please sign in to leave a comment.