Is anything known about when gradle will support plugins written in more recent kotlin versions? It'...
m
Is anything known about when gradle will support plugins written in more recent kotlin versions? It's very annoying to be limited to kotlin 1.5.31 throughout my entire project because gradle doesn't use a newer version and as such the plugin subproject needs to use 1.5.31
e
https://github.com/gradle/gradle/pull/19539 1.6.10 will be used in Gradle 7.5, as long as you can accept -language-version 1.4 and -api-version 1.4 https://github.com/gradle/gradle/issues/19568 full 1.6 is targeted at Gradle 8
but why does that limit you to Kotlin 1.5.31 throughout your whole project?
buildSrc/includeBuild can use a different Kotlin version than non-plugin code
m
The problem is that this is a plugin I'm publishing, along with a library and KSP processor. While yes, I could swap this all out for 1.5.31, this means I'd have to refactor all the code using context receivers, drop support for macosArm64, and do a somewhat large refactor of the plugin code, as the kotlin DSL stuff seems to change with every minor version.