How can I try a snapshot version of ksp ? Can I ju...
# ksp
j
How can I try a snapshot version of ksp ? Can I just add the repository as a dependency somehow ?
t
KSP doesn't publish snapshots automatically for now. On the other hand, building and installing KSP locally is simple:
Copy code
git clone <https://github.com/google/ksp.git> && cd ksp
./gradlew -PkspVersion=<version> publishToMavenLocal
j
Is it possible to make it work with gradle composite builds? Or you haven't tried that?
t
I haven't tried.
j
I tried to update my project to use a snapshot version thinking it would solve my issue here https://github.com/google/ksp/issues/1038 but I still can reproduce the error. I tried debugging, but it didn't help me understand why KSP fails to load the annotation class.
j
can you share the updated reproduce code with loc al build of KSP?
j
I updated the project in the issue
hey @Jiaxiang did you have the time to check my sample ?
j
yes, confirmed failed execution.
j
Any ideas on how to fix it?
j
not yet. Will need to take a further look