Not sure if #ksp isn't a better place to ask this, but let's try here.
Since ksp version is coupled with kotlin version, which in turn makes any library some libraries using ksp coupled too, is there a versioning convention recommended for this? E.g. should I use
to signify which kotlin version it's compatible with my lib?
06/29/2022, 3:21 PM
KSP itself is coupled with kotlin version because kotlin compiler plugin API is not stable yet. That does not mean that KSP-API is.
So in short, you can use any ksp lib you wish and the only gotcha is to match ksp plugin version with kotlin plugin version on the end-user's project.
Half of the reasons ksp came to be is to provide a stable meta-programming interface for kotlin since kotlin compiler plugin API is unlikely to be stable in the near future
So they do all the heavy lifting of dealing with breaking compiler plugin API while maintaining stable KSP API