vscode-gradle icon indicating copy to clipboard operation
vscode-gradle copied to clipboard

conflicts with java language extension pack

Open Arteiimis opened this issue 7 months ago • 4 comments

Extension Name: vscode-gradle Extension Version: OS Version: VSCode version:

Describe the bug after installing both gradle and java extension pack, creating a new springboot project will cause the java status log to keep downloading packages

To Reproduce

  • Install java extension pack and gradle for java.
  • Create a new springboot gradl project with all configuration options as default.
  • Open the created project, open the java status will show that the package is always being installed.

Expected behavior No conflict with any plugin, load the whole project normally.

Output from "Gradle for Java"

[info] [gradle-server] Server started, listening on 53512
[info] Gradle client connected to server
[info] Found 0 tasks
[info] Java Home: D:\scoop\apps\openjdk17\current
[info] JVM Args: --add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-XX:MaxMetaspaceSize=384m,-XX:+HeapDumpOnOutOfMemoryError,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=CN,-Duser.language=zh,-Duser.variant
[info] Gradle User Home: D:\scoop\apps\gradle\current\.gradle
[info] Gradle Version: 8.8
[info] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

CONFIGURE SUCCESSFUL in 20s

It will not show any errors in the output of gradle, but it will download indefinitely in java build status: image

Does the bug still exist if you disable all other extensions? just disable gradle extension, the entire project will not have any problems

Arteiimis avatar Jul 03 '24 07:07 Arteiimis