https://kotlinlang.org logo
#ksp
Title
# ksp
j

juliocbcotta

07/18/2022, 1:38 PM
How can I try a snapshot version of ksp ? Can I just add the repository as a dependency somehow ?
t

Ting-Yuan Huang

07/18/2022, 5:31 PM
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

juliocbcotta

07/18/2022, 8:06 PM
Is it possible to make it work with gradle composite builds? Or you haven't tried that?
t

Ting-Yuan Huang

07/18/2022, 8:33 PM
I haven't tried.
j

juliocbcotta

07/18/2022, 11:17 PM
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

Jiaxiang

07/18/2022, 11:54 PM
can you share the updated reproduce code with loc al build of KSP?
j

juliocbcotta

07/19/2022, 7:52 AM
I updated the project in the issue
hey @Jiaxiang did you have the time to check my sample ?
j

Jiaxiang

07/29/2022, 5:27 PM
yes, confirmed failed execution.
j

juliocbcotta

07/29/2022, 5:32 PM
Any ideas on how to fix it?
j

Jiaxiang

07/29/2022, 6:11 PM
not yet. Will need to take a further look
14 Views