Perhaps there is someone here who can answer this ...
# micronaut
r
Perhaps there is someone here who can answer this questions. Does Micronaut support KSP2? When I'm trying to use my project with
useKSP2=true
I'm getting errors like this:
Copy code
e: [ksp] Error processing type visitor [io.micronaut.context.visitor.ExecutableVisitor@49e3e5e7]: null
e: [ksp] java.lang.NullPointerException
If it's not, does it mean I will not be able to use Micronaut with Kotlin 2.1.0 at all (Kotlin 2.1 will not support KSP1 any more)?
😮 1
d
I think the developers are more active on Discord: https://discord.com/invite/9xRFsHv98T But from the issues on ksp, it seems like they really invested in it... I also hope they'll support ksp2... but for now, there doesn't seem to be any issue on it.
@Robert Jaros I now have a project using one module with micronaut ksp and the other with kotlin 2.1.0... it seems like for now ksp2 is only in beta whereas 2.1.0 already came out... does that mean that 2.1.0 officially does support ksp1?
r
I think it does. I have a working Micronaut project with Kotlin 2.1.0 and KSP1. I've also opened a Micronaut issue with a reproducer: https://github.com/micronaut-projects/micronaut-core/issues/11553. I hope they will implement KSP2 soon.
👍🏼 1
d
@Robert Jaros It looks like the current release of Micronaut fixes something for ksp2, I'm just not sure if it's full support yet... https://github.com/micronaut-projects/micronaut-core/releases/tag/v4.8.5