eric
01/31/2018, 8:18 PMError:Kotlin: [Internal Error] java.lang.IllegalStateException: The provided plugin org.jetbrains.kotlinx.serialization.compiler.extensions.SerializationComponentRegistrar is not compatible with this version of compiler
...
My IDE uses the latest stable Kotlin plugin (1.2.21-release-IJ2017.3-1).
I have included the serialization plugin in my buildscript dependencies (`classpath 'org.jetbrains.kotlinxkotlinx gradle serialization plugin0.4').
Is there something I haven't configured correctly for the plugin?sandwwraith
01/31/2018, 8:57 PMbuild.gradle
- it may be differenteric
01/31/2018, 9:09 PMbuildscript {
repositories {
mavenCentral()
maven { url '<https://kotlin.bintray.com/kotlinx>' }
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.21'
classpath 'org.jetbrains.kotlinx:kotlinx-gradle-serialization-plugin:0.4'
}
}
sandwwraith
02/06/2018, 9:01 AMeric
02/06/2018, 7:30 PMCaused by: java.lang.AbstractMethodError: org.jetbrains.kotlinx.serialization.compiler.extensions.SerializationComponentRegistrar.registerProjectComponents(Lcom/intellij/mock/MockProject;Lorg/jetbrains/kotlin/config/CompilerConfiguration;)V
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:176)
sandwwraith
02/07/2018, 4:07 PMeric
02/07/2018, 8:57 PM