Recompile dependency based on @external_resource

In my first implementation of ex_cldr I spent a lot of time trying to find ways to recompile a dependency when a host app changed and I never found a way to do it. And I came to believe it is an anti pattern in the elixir build system. Its possible another build tool will take another approach. But ultimately this very situation is why I have ended up with defining “backend” modules in the host application that draw on the dependency and are cleanly recompiled by mix when the @external_resource changes. Its probably not a surprise that its also the approach taken by Gettext and others.

TLDR; I suspect your objective may not be met.