Skip to content
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

Make Classpath Configurable with Env Variable #26

Closed
tricktron opened this issue Jul 22, 2022 · 0 comments · Fixed by #39
Closed

Make Classpath Configurable with Env Variable #26

tricktron opened this issue Jul 22, 2022 · 0 comments · Fixed by #39

Comments

@tricktron
Copy link
Owner

Frege modules with dependencies to other jars cannot be resolved:

Screenshot 2022-07-22 at 15 01 12

A low hanging fruit solution:

Expose a FREGE_LSP_EXTRA_CLASSPATH variable to manually add third party dependency jars.

Nice user experience solution:

Use the frege gradle configuration value. This means a lot more effort:

  • Add a custom model to the frege gradle plugin
  • Add the gradle tooling api to this repo and integrate it with the custom model.

See https://stackoverflow.com/questions/34008335/gradle-tooling-api-get-task-outputs

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