-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support K2 #545
Comments
Looks like K2 is enabled by default in Kotlin 2.0. Did anyone get the library working with k2 enabled? |
You can use it with K2, we've been doing that for a while, just don't use KSP2. |
Looks like FooIbar@7875839 is the only change needed to support KSP2.
|
Ok thank you @FooIbar But just so we're clear. Using 1.0.20 KSP means we'd have to specify all field defaults for annotations that have class types, but only if using K2 as well, right? |
Yes, only if using KSP2. |
You scared me for a moment.. I thought for a moment that they would be dropping that completely 😅 made no sense but we never know.. |
I should have made it clearer. That is only for testing KSP2 compatibility with 1.0.20 FooIbar@d7e79dd. Update: Tested with 1.0.21, it's only partially fixed. Filed a bug on KSP google/ksp#1910. |
Currently, trying to build with KSP2 / K2 fails with:
gradle.properties
:The text was updated successfully, but these errors were encountered: