Skip to content

java.import.gradle.user.home Setting not Respected #1425

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

Open
x80486 opened this issue Apr 21, 2025 · 0 comments
Open

java.import.gradle.user.home Setting not Respected #1425

x80486 opened this issue Apr 21, 2025 · 0 comments

Comments

@x80486
Copy link

x80486 commented Apr 21, 2025

Environment

  • VS Code Version: 1.99.22418 (Flatpak build)
  • Extension Version: vscjava.vscode-java-pack 0.29.0
  • JDK Type & Version: Eclipse Temurin 21.0.7+6.0.LTS
  • OS Type & Version: GNU/Linux x64 6.12.23-1-lts #1 SMP PREEMPT_DYNAMIC

Step to Reproduce

  • Set GRADLE_USER_HOME environment variable within the operating system — GRADLE_USER_HOME="/path/to/user-home/.cache/gradle"
  • Set "java.import.gradle.user.home": "/path/to/user-home/.cache/gradle in global settings.json
  • Create/Open a Gradle project

Expected Behavior

Gradle processes should use the correct location defined by java.import.gradle.user.home.

Actual Behavior

Gradle processes still default to /path/to/user-home/.gradle

Additional Information

I've also tried to set java.import.gradle.user.home in settings.json at the project level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant