Strumenta / kolasu-languageserver-library

1 stars 0 forks source link

Reflect on how we handle the installation of dependemcies #78

Open martin-azpillaga opened 1 week ago

martin-azpillaga commented 1 week ago

The way we handle the installation of dependencies is very rigid and can lead to version mismatches.

Following the project's "configurable magic" philosophy, we could install the dependencies "magically" by default, but if the user specifies a version for one of these dependencies we should respect that version and not install anything.

Here is the current solution:

https://github.com/Strumenta/kolasu-languageserver-library/blob/0597e0c19723f25e6705b488325bb064a260d3e9/plugin/src/main/kotlin/com/strumenta/kolasu/languageserver/plugin/LanguageServerPlugin.kt#L30-L38

martin-azpillaga commented 1 week ago

@loradd I remember you had another approach for this in mind. Could you share it here too?