Hey there, so I have a KMP project using Kotlin 1....
# ksp
s
Hey there, so I have a KMP project using Kotlin 1.8.21 and KSP. Once I upgrade to Kotlin 1.9.0 (and nothing else) it seems none of the KSP processors produce any output anymore, regardless of using 1.9.0-1.0.11 or -1.0.12. I ran the build with
--scan
and saw that KSP picks up the processors and that the skeleton folder structure is being created in the
build/generated
folder but that's it. I have also tried disabling configuration cache as per @cb’s similar report a couple days ago. Any way I could troubleshoot this?
t
Would you mind sharing the build scan, and if possible, a sample project as well?
s
Alright, took me a little to strip away everything for a sample. Here is a (mostly) minimal repo (https://github.com/JuBan1/ksp-repro). Instructions are in the README, but it's just switching to 1.9.0 in the libs.versions.toml to trigger the issue. Here (https://scans.gradle.com/s/fb5rrqtgvrfwi) is a scan of a good build using 1.8.21. Here (https://scans.gradle.com/s/vo3f562bghsmi) is a scan of a failed build using 1.9.0 I hope this is what you're looking for! Best I can find is that the
lib:kspKotlinJvm
task is noted down as "NO SOURCE" for the failed execution, which sounds wrong.
t
Thank you for the test case! This is a bug and we're working on it. There will be a hot-fix release soon.
s
Awesome. Thanks for the confirmation.