-
Notifications
You must be signed in to change notification settings - Fork 448
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
Reopening a gradle project resets its gradle version #924
Reopening a gradle project resets its gradle version #924
Comments
@sallyur is this a regression? |
Works for me on my mac:
|
I could reproduce the issue, and it was already present in vscode-java 0.44.0: when you import the project the 1st time, the proper buildship settings are generated, as per my previous comment. |
so more specifically the problem occurs after cleaning the server directory. The project already has local eclipse config files, this seems to confuse the import. |
I believe I'm encountering this issue in my local environment. Even if I manually set the gradle distribution version in the prefs file, it gets reset for at least one of the projects in my workspace as soon as I clear the language server. Seems to be getting set to a version much newer than I have installed locally, and also much newer than the wrapper governing the rest of the workspace projects. Is there any workaround for this issue while the PR is under review? |
I have the same problem. installed gradle version 6.7 but 6.3 is used in the .gradle folder. Extension Name: vscode-java Describe the bug If I run the gradle init command in terminal, there is only one subfoler, 6.7, in the .gradle folder I also found in the buildOutputCleanup folder, the cache.properties file has gradle.version=6.3 The subfolder 6.7 is created by vscode-gradle extenstion To Reproduce
Expected behavior |
Tried with 0.80.0, the problem seems has been fixed @testforstephen |
Environment
Steps To Reproduce
Current Result
The generated files don't use my local gradle:
The gradle version in generated files:
My local gradle:
My settings is the default state:
Expected Result
The generated files use local gradle:
The text was updated successfully, but these errors were encountered: