When using <Kotlin BTA>, how do I specify the comp...
# gradle
m
When using Kotlin BTA, how do I specify the compiler plugin versions?
Copy code
plugins {
  id("org.jetbrains.kotlin.jvm").version("2.3.10")
  // Is this correct?
  id("org.jetbrains.kotlin.plugins.serialization").version("2.3.10") 
}
kotlin {
  compilerVersion.set("2.2.21")
}
This seems dangerous:
Copy code
kotlinCompilerPluginClasspathMain - Kotlin compiler plugins for compilation
...
\--- org.jetbrains.kotlin:kotlin-serialization-compiler-plugin-embeddable:2.3.10
I'm guessing I should downgradle the
"org.jetbrains.kotlin.plugins.serialization"
plugin?
Copy code
plugins {
  id("org.jetbrains.kotlin.jvm").version("2.3.10")
  id("org.jetbrains.kotlin.plugins.serialization").version("2.2.21") 
}
kotlin {
  compilerVersion.set("2.2.21")
}
m
Perfect, thanks!
t
I'm guessing I should downgradle the
"org.jetbrains.kotlin.plugins.serialization"
plugin?
Yes, currently we don't try to align compiler plugins version with Kotlin compiler version. We aware of this problem and should start doing it in some release
👍 1
👍🏾 1
fyi @Alexander.Likhachev
thank you color 1