Skip to content

Resolving artifacts via gradle should respect $GRADLE_USER_HOME #254

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

Closed
daphil19 opened this issue Jan 25, 2021 · 0 comments · Fixed by #258
Closed

Resolving artifacts via gradle should respect $GRADLE_USER_HOME #254

daphil19 opened this issue Jan 25, 2021 · 0 comments · Fixed by #258

Comments

@daphil19
Copy link
Contributor

daphil19 commented Jan 25, 2021

Currently, gradleHome looks in the user's home directory for .gradle. While this is the default place for the $GRADLE_USER_HOME env var, users can also configure it. Kotlin-Language-Server should first check for the presence of the env var and use that, falling back to the default location.

I imagine there is something similar we might need to check for with maven, but I haven't looked into what that would be.

When coupled with #255, this results in the kotlin compiler & stdlib not being found, resulting in a failed build.

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

Successfully merging a pull request may close this issue.

1 participant