25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Use newer rebar3_hex with new Erlang, but Erlang 20 requires 7.0.7

This commit is contained in:
Badlop 2024-06-24 13:35:02 +02:00
parent 40c27b54b0
commit 0d31482647

View File

@ -144,7 +144,9 @@
{if_rebar3, sql}, {if_rebar3, sql},
{if_var_true, tools, tools}]}]}. {if_var_true, tools, tools}]}]}.
{if_rebar3, {plugins, [rebar3_hex, {provider_asn1, "0.2.0"}, {if_rebar3, {plugins, [{if_version_below, "21", {rebar3_hex, "7.0.7"}},
{if_version_above, "20", {rebar3_hex, "~> 7.0.8"}},
{provider_asn1, "0.2.0"},
%% Protocol consolidation doesn't work correctly in upstream rebar_mix, see %% Protocol consolidation doesn't work correctly in upstream rebar_mix, see
%% https://github.com/Supersonido/rebar_mix/issues/27#issuecomment-894873335 %% https://github.com/Supersonido/rebar_mix/issues/27#issuecomment-894873335
%% Let's use this fixed rebar_mix fork, see its PR: %% Let's use this fixed rebar_mix fork, see its PR: