I have an umbrella project with several apps inside. Now, some of these apps have some dependencies in common, for example, lets say they all use the library A.
Since umbrellas have their own
mix.exs file, I thought this would be a perfect place to put all the dependencies all the apps share.
However if I do that, when I enter the individual apps and try to compile them I can’t, because the dependencies are not there.
For me this is confusing because now I need to copy paste the dependency of library A in all my apps, and if they have different versions the whole thing will explode into horrible pain (which I want to avoid).
What is the purpose of the
mix.exs file that is in the umbrella app?