Version Kotlin runtime in Gradle and IDEA differs
I'm using Gradle for my plugin and the latest EAP IntelliJ Community IDEA. On every start, I get the following message:
Your version of Kotlin runtime in 'Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.61'
library is 1.1.61-release-68 (1.1.61), while plugin version is
1.2.0-rc-39-IJ2017.3-1.
Runtime library should be updated to avoid compatibility problems.
The problem is that the version IDEA uses is not available for Gradle (or I'm just too dumb to include it). My Gradle build contains the following settings for Kotlin
buildscript {
ext.kotlin_version = '1.1.61'
...
}
plugins {
id "org.jetbrains.kotlin.jvm" version '1.1.61'
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
Is this something I should be concerned about? How do others handle this? The reason I ask is that I ran into some weird exceptions of the Kotlin plugin that have no apparent reason.
Please sign in to leave a comment.
This build of Kotlin is available in a EAP repository. Add this to the list of repositories for your project: http://dl.bintray.com/kotlin/kotlin-eap-1.2
As always: thanks Dmitry