Open tsloughter opened 3 years ago
Support has been added to relx and rebar3 in 3.18.0. So ready for rebar3_hex to support.
Basing it on the .app
file is just my initial thought. It would remove the need to change rebar.config (which right now has no concept of optional).
Support for
optional_applications
will be merged into OTP soon: https://github.com/erlang/otp/pull/2675This plugin should support it by checking
optional_applications
and marking any dependency that is found in that list as optional when publishing to hex.