-
Notifications
You must be signed in to change notification settings - Fork 62
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
Always re-import the entire project after executing the gradle task #921
Comments
@CsCherrYY This phenomenon is related to another issue #930 Because opening Gradle View will reopen a new Gradle Deamon JVM. Then recompile the entire project. This wastes a lot of time. additional
|
Just tried a sample gradle project: https://docs.gradle.org/current/samples/zips/sample_building_spring_boot_web_applications-groovy-dsl.zip, execute I think it's probably because your executed task affects some build files (e.g. build.gradle). It triggers
IMO opening Gradle View is more like "configure" the project than "recompile", it will cost less time than recompiling project. As you mentioned in #930 (comment),
Currently we find a bug about getting daemon status process. This process now started the wrapper without the parameter Update:I just tried spring-boot and can't reproduce this issue. IMO it's related to your project. A sample project can reproduce this issue would be very helpful. |
I hope that the vscode-gradle plugin will not start a new Deamon, just use the existing Gradle Deamon. Because my project is so big, I have to wait a long time every time. If you don’t change it, I can only give up using it! |
This is the same problem. thanks |
we plan to release |
👌 |
i also will test it use springboot. Wait for my message |
@CsCherrYY Thanks! Disable the gradle plugin, restart VS Code, and then enable the gradle plugin. The problem does not recur after repeating twice.
"java.configuration.updateBuildConfiguration": "disabled",
"java.debug.settings.forceBuildBeforeLaunch": false |
Extension Name: vscode-gradle
Extension Version:3.6.1
OS Version:Windows_NT x64 10.0.19043
VSCode version:1.60.0-insider (system setup)
Describe the bug
Always re-import the entire project after executing the gradle task
To Reproduce
Use vscode to open a gradle project normally. Wait for the compilation to complete.
Open gradle view to execute any task. Observe the terminal to execute the imported project again
Expected behavior
Do not reimport the project
Screenshots

Output from "Gradle Tasks"
2.log
Does the bug still exist if you disable all other extensions?
Yes
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: