-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't update from beta08 to beta09 #203
Comments
So the new updates work on your open source project? 🤔 Can you double check whether the new updates are indeed working by doing a clean first. |
Yes, in open source project the update works with no issues. I didn't even have to update Compose & Kotlin version. I tried clean build as well. Can I get somehow logs which would tell why it was not generated? I tried |
Can you tell me if you have a dependency on this artifact - |
Yeah, it was a transitive dependency of something. I tried to also add it explicitly, but it didn't help. |
Does it have any @ Previews or @ShowkaseComposables? |
Many @previews in multiple modules. No @ShowkaseComposables. It works in beta08, there are no code changes except updating library versions. |
beta09 introduced ksp support to Showkase so it involved a big refactor, although it shouldn't have changed any logic or setup if you continue using ksp - https://github.com/airbnb/Showkase/releases/tag/1.0.0-beta09 Wondering if there are any differences in how things are setup between your projects? I'm going to take a stab and will try to repro it. |
I was wondering what's different in our project. It's hard to tell, it's a large codebase. But I had a suspicion about one difference which caused issues in the past |
Can you look at the classes that Showkase will generated (under build > generated > kapt). There should be files in the app module and the feature modules as well. That should have clues about what is being identified. |
Here is related generated code from the 'app' module:
The feature modules have generated metadata for their own composables. But somehow it's not connected together in the app module. |
@davidvavra hmm the only way this can happen is if the |
It does depend on feature modules and it works with beta08. Only solution I can think of now is to fork the library at beta08 and apply the fix from beta10 there :( |
I'm trying to repro so that I can potentially fix it. Were you using kapt or ksp? |
kapt |
Same issue in our project. beta08 works but not beta09/beta10. I have tested with kapt/ksp, both are not working. |
Duplicate issue here - #213 |
This PR should fix it - #216 |
Hi,
when I try to update from beta08 to beta09 (or beta10), the build fails with:
(the extension function which does this is not generated)
I can't reproduce it on my open-source project, only in my work project.
I tried updating Kotlin to
1.5.31
and Compose to1.0.4
, but it didn't help. Any ideas what I can try to debug this?The text was updated successfully, but these errors were encountered: