How to reference 3rd party java libraries in MPS language?

Is there a common way of using 3rd party libraries while still keeping them out of project git root?
You can add a new model root in any of your solutions or languages pointing to the folder where your 3rd party libs are contained. Let's call the folder F.
To make it filesystem-independent, define a path variable in settings pointing to F or any of its ancestors.
When your project is saved, all paths, including model root paths, will be saved in a format like {yourPathVar}/dir1/dir2. When you open this project on another computer, paths will be expanded according to path variables defined on that computer.
Is there any kind of maven/ivy/etc dependency resolution?

Please sign in to leave a comment.