Skip to content
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

Generated Classes are not resolved #1

Closed
eric-ampire opened this issue Sep 29, 2021 · 4 comments
Closed

Generated Classes are not resolved #1

eric-ampire opened this issue Sep 29, 2021 · 4 comments

Comments

@eric-ampire
Copy link

Generated Classes are not resolved, but everything compile as expected

Screenshot 2021-09-29 at 11 13 06

@raamcosta
Copy link
Owner

raamcosta commented Sep 29, 2021

Hi Eric :)
I think I know what the problem is: the IDE is likely not looking at the generated files. This is a known KSP issue.
As a temporary solution manually mark the folder as a "Generated sources root".
Like this:

image

I will change gradle in the next commit so that this is not necessary to do manually. I removed it because it was giving me issues when I was using Jitpack to publish the library, but now I should re-add it.

Let me know if it works for you!
Thanks!

@eric-ampire
Copy link
Author

eric-ampire commented Sep 29, 2021 via email

@raamcosta
Copy link
Owner

I just pushed a commit to fix this for future cloners.
@eric-ampire you can also just update the local branch and it should work without adding the folder manually.

Thanks for opening the issue 👍 It was important so others don't experience this when trying to build the sample :)

@eric-ampire
Copy link
Author

eric-ampire commented Sep 29, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants