Open jamesrapadmi opened 2 months ago
Hi @jamesrapadmi 👋
Are you using an enum entry as "visibility" or as "defaultTransitions" on any of your NavGraph
s or NavHostGraph
s definitions? Can you show me how that code looks like? It doesn't seem like I'm able to reproduce this 🤔
KSP2 is not supported yet, see #545 and #643
Hi @jamesrapadmi 👋
Are you using an enum entry as "visibility" or as "defaultTransitions" on any of your
NavGraph
s orNavHostGraph
s definitions? Can you show me how that code looks like? It doesn't seem like I'm able to reproduce this 🤔
I'm not using either of those features the only field I'm using in the nav graphs is start
.
KSP2 is not supported yet, see #545 and #643
Do you think this will be fixed after #643 merges?
@FooIbar my bad, I completely forgot about that. Do you have any idea why I don't have this issue? 🤔 Isn't the only requirement to use KSP 2.* ?
KSP2 is not supported yet, see #545 and #643
Do you think this will be fixed after #643 merges?
Yes, but there are still other issues (on the KSP side, though) when using this library with KSP2.
@FooIbar my bad, I completely forgot about that. Do you have any idea why I don't have this issue? 🤔 Isn't the only requirement to use KSP 2.* ?
2.0.20
is the Kotlin version and 1.0.25
is the KSP version, so it still uses KSP1 by default.
To use KSP2, you need to add this in gradle.properties
:
ksp.useKSP2=true
2.0.20 is the Kotlin version and 1.0.25 is the KSP version
I knew this, but yeah now that you mention it I feel stupid 😅
In that case, @jamesrapadmi are you using KSP2?
ksp.useKSP2=true
Because given what @FooIbar said
"Yes, but there are still other issues (on the KSP side, though) when using this library with KSP2."
I'd recommend against it.
In that case, @jamesrapadmi are you using KSP2?
Yes I am, sorry should have mentioned that up top!
Hey, is there any movement on this issue? From the looks of the open PR, there might not be any outstanding issues to support KSP2?
I'm hitting the same issue as @jamesrapadmi with Kotlin 2.0.21, KSP 2.0.21-1.0.26 and Compose Destinations 2.1.0-beta14.
For context, am also attempting to upgrade my version of Mockative to support Kotlin 2 but the update there requires KSP 2.
I'm seeing the following error when trying to build a project:
I'm using ksp
2.0.20-1.0.25
with compose destinations2.1.0-beta12
. Are you able to provide a fix for this issue?