Closed gwilliams-livefront closed 1 year ago
Thanks for the report! I saw the same issue updating the project itself to 1.8, it looks like a dependency bump will resolve the issue as drafted in #120.
It's good to know that ksp
is working fine and that should be a better experience going forward anyway, at some point it might make sense to deprecate the kapt
version entirely.
0.6.0
released with the update to Kotlin 1.8
When updating our project from Kotlin 1.7.10 to 1.8.10, I got an error for all the
@GenSealedEnum
companion objects in our project. For some reasonkapt
was expecting Kotlin classes, but the generated classes were Java code. Here's an example of the error message:I was able to switch to
ksp
and everything generated properly.Here's relevant lines from
build.gradle.kts