Closed
Description
We use KotlinPluginWrapper.kotlinPluginVersion
to get the kotlin version in boot gradle plugin as advised in #11711. But the jetbrains developers have removed the property kotlinPluginVersion
recently in this change. So if we try to upgrade kotlin to 1.5.20-RC, we will see the error
* Exception is:
java.lang.NoSuchMethodError: 'java.lang.String org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper.getKotlinPluginVersion()'
at org.springframework.boot.gradle.plugin.KotlinPluginAction.execute(KotlinPluginAction.java:36)
at org.springframework.boot.gradle.plugin.KotlinPluginAction.execute(KotlinPluginAction.java:32)
at org.springframework.boot.gradle.plugin.SpringBootPlugin.lambda$null$0(SpringBootPlugin.java:126)
...
which prevents us from upgrading kotlin to 1.5.20-RC. Latest boot release 2.5.1 still has the issue.