airbnb / Showkase

🔦 Showkase is an annotation-processor based Android library that helps you organize, discover, search and visualize Jetpack Compose UI elements
https://medium.com/airbnb-engineering/introducing-showkase-a-library-to-organize-discover-and-visualize-your-jetpack-compose-elements-d5c34ef01095
Apache License 2.0
2.11k stars 107 forks source link

Root module codegen preventing incremental compilation for KSP #373

Closed joshdmiller5 closed 4 months ago

joshdmiller5 commented 8 months ago

Somewhat similar to #322, we've been encountering the following warning when running our custom build jobs on Jenkins:

w: [ksp] No dependencies reported for generated source ShowkaseRootModuleCodegen.kt which willprevent incremental compilation.

It appears that similar KSP issues have been reported https://github.com/google/dagger/issues/4182, but curious if there are any suggestions for Showkase workarounds in the meantime as our app heavily relies on incremental compilation?

Currently failing with the following versions:

kotlin = "1.9.21"
ksp = "1.9.21-1.0.16"
showkase = "1.0.2"
dagger = "2.49"
vinaygaba commented 8 months ago

Interesting. I'm going to try investigating this shortly.

joshdmiller5 commented 8 months ago

Thank you! Let me know if there is any additional information you need

joshdmiller5 commented 7 months ago

Following up here just to add a little bit more information: