Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Vote on IntelliJ fix for annotation-processor sources in gradle projects #245

Closed
tkruse opened this issue Mar 20, 2017 · 5 comments
Closed

Comments

@tkruse
Copy link

tkruse commented Mar 20, 2017

Sorry if this is spam.
IntelliJ IDEA has a bug when trying to import gradle projects using annotation-processor generated sources. I think that may cause users to avoid using FreeBuilder.

Please vote for this to be fixed:
https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FIDEA-124090

Close this ticket without further comment if you like.

@alicederyn
Copy link
Collaborator

Have you tried using the org.inferred.processors plugin?

@tkruse
Copy link
Author

tkruse commented Mar 20, 2017

Yes, the problem lies entirely with IntelliJ, when using their gradle import. I could get Freebuilder to run by itself and in Eclipse, with and without diverse annotation plugins (also the one you mention). But not in IntelliJ.

IntelliJ with Maven import also works.

My problem is in my team, other developers use IntelliJ, and so I have a hard time introducing FreeBuilder, if every developer will get weird issues.

@alicederyn
Copy link
Collaborator

The plugin I linked should be fixing IntelliJ's gradle import for you. If it doesn't, we'd greatly appreciate a bug report on the project.

@tkruse
Copy link
Author

tkruse commented Mar 20, 2017

I see. I'll try again to reproduce carefully, then. Might need to wait till next weekend.

@alicederyn
Copy link
Collaborator

Thanks! If you have issues, please do reopen/raise a new bug.

alicederyn added a commit that referenced this issue Mar 20, 2017
Using `compile` is less effort for users, but leads to issues like #245. Promote org.inferred.processors to the preferred solution.
alicederyn added a commit that referenced this issue Mar 20, 2017
Using `compile` is less effort for users, but leads to issues like #245. Promote org.inferred.processors to the preferred solution.
alicederyn added a commit that referenced this issue Apr 12, 2017
Using `compile` is less effort for users, but leads to issues like #245. Promote org.inferred.processors to the preferred solution.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants