-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Add apt generated source folder for Eclipse in build.gradle #9134
Comments
@atomfrede : are you ok with that ? |
Looks ok, but @jsm174 are you sure that configuration doesn't set the apt directory as only source folder in eclipse? |
Is the configuration not apt eclipse plugin not sufficient? (Sorry not an eclipse user) https://github.com/tbroyer/gradle-apt-plugin/blob/v0.20/README.md#eclipse |
I will try to find some time and check it. I think it would be better to set
@jsm174 Which eclipse version are you using? I assume you are using the buildship plugin? |
Eclipse 4.9.0.v20180906-1121 I modified to If you
Regardless of above, it's still better than having to manually add the path. |
Overview of the feature request
I use Eclipse as my IDE. When pulling in JHipster microservices using gradle import, I have to add the apt generated source folder as per #2: https://www.jhipster.tech/configuring-ide-eclipse-gradle/
Anytime you refresh the gradle build, this entry gets lost. After doing this a million times, it is now getting old. :)
I'm not a gradle expert, but I tried adding a
sourceSets
entry inbuild.gradle
and it works great:If this seems correct, (or if there is a better way), I can make a PR.
Motivation for or Use Case
See Above
Related issues or PR
The text was updated successfully, but these errors were encountered: