-
Notifications
You must be signed in to change notification settings - Fork 7
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 in the classpath in IntelliJ #41
Comments
You need to take a few extra steps to declare your annotation processor to IDEA, I don't think this has anything to do with Kobalt. And I don't think the Kobalt IDEA plug-in can do much since, as you saw, there is no mention of Here is the relevant doc. |
Thanks, I'll have a look at the doc. The Gradle plugin doesn't require any additional configuration for annotation processing. |
Ok let's dig a bit further, then. The Kobalt plug-in could see if the project contains any annotation processor file under @dmitry-zhuravlev Thoughts? |
I think the simplest solution is to mark the |
Agree, but in this case information about defined @cbeust Also I noticed that if no I think that this should be placed in "kobaltBuild/generated/source/apt" just to not mix "java" and "class" files in same place. @cbeust What do you think? |
Generated classes don't show up in the classpath in IntelliJ, causing "Cannot resolve symbol" errors. See this sample project: https://github.com/sargunster/annotations where the project builds in Kobalt but shows compile errors in IntelliJ.
One possible solution is to mark the
kobaltBuild/classes
as a "generated sources root".The text was updated successfully, but these errors were encountered: