-
Notifications
You must be signed in to change notification settings - Fork 441
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
VS code java creates duplicate classes in Java project with Gradle build #1187
Comments
Gradle support is provided by the Buildship project. Separating the output directories of Eclipse and CLI builds is a design decision, basically to prevent conflicts between IDE and CLI builds. More about here: https://discuss.gradle.org/t/eclipse-plugin-did-not-configure-default-output-directory-to-build/7586. |
Thank Fred for your reply. So they are separated as designed. That makes sense when we usually encounter the problem with new dependencies added in gradle build script, the build from CLI is working, but vscode shows error that symbols not found until we reload the vscode again. Is there a way to sync new dependencies from gradle without reloading the whole workspace? |
You can try the following:
You can also try the following property:
|
@snjeza perfect! This is what we needed, thank you very much! |
I ended with this configuration in my build.gradle so gradle build on "build/gradle" and eclipse on "build/eclipse":
|
Environment
Steps To Reproduce
Question
The 'build' dir is from Gradle build task and its content looks similar to the 'bin' dir, which is generated by the extension. What is this 'bin' dir for?
The text was updated successfully, but these errors were encountered: