-
Notifications
You must be signed in to change notification settings - Fork 149
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
.gradle keep comming back #225
Comments
Jetbrains product also make .java come back every time the only fix I have found is to add |
Hi, thank you for reporting this, and sorry the suggestion isn't working properly! I don't have the time to update the suggestion myself at the moment, so if you (or anyone else) happen to have some time, I'd greatly appreciate if you made a PR with added instructions for Jetbrains software. |
To that I'd also like to add that specifying locations for anything to do with Maven seems to do nothing on IDEA, considering that it insists on creating a JetBrains' Rider also suffers from a similar deal, creating |
Never mind, much of this seems to be caused by the general idea that GUI applications don't necessarily follow environment variables set for the shell. OP's issue can be solved just fine by setting the variable instead in something such as |
Hi, I don't know what would be used by Gnome wayland. |
This seems to have the answer for it. In general, you'd want to figure out how to set environment variables for the graphical session as opposed to the shell. |
I after reading and testing out things. I think I've what works !
I think I will be opening a PR when I have the time |
Even after adding
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
to my zshrc file,.gradle
kept coming back.From what I understand, this is because Jetbrains product ( IntelliJ, Android Studio, etc... ) don't follow environment variable and hardcode
$HOME/.gradle
Maybe this issue is related https://youtrack.jetbrains.com/issue/IDEA-141832
The only fix I found is adding my gradle path in the setting of each Jetbrains product that use gradle.
File > Settings > Build, Execution, Deployment > Build Tools > Gradle
The text was updated successfully, but these errors were encountered: