I don't use Kotlin but I thought it would be good to get support for a few languages to help decide on best design for handling multiple languages.
BSP spec is not finalised for Kotlin. See here. I've no idea about how to setup associates in a Gradle build so I've ignored it.
Kotlin plugin doesn't seem to be part of Gradle so everything here is done with reflection - I guess you could add the Kotlin library into the plugin project if you don't want to use reflection.
Up to you if you want to merge. I could change this to a draft PR.
Adds Kotlin support.
I don't use Kotlin but I thought it would be good to get support for a few languages to help decide on best design for handling multiple languages.
BSP spec is not finalised for Kotlin. See here. I've no idea about how to setup
associates
in a Gradle build so I've ignored it.Kotlin plugin doesn't seem to be part of Gradle so everything here is done with reflection - I guess you could add the Kotlin library into the
plugin
project if you don't want to use reflection.Up to you if you want to merge. I could change this to a draft PR.