{erl_opts, [debug_info,
            warn_missing_spec,
            {i, [".", "include"]}
           ]}.

{require_min_otp_vsn, "26"}.

{deps, [
        {exml, "4.0.0", {pkg, hexml}},
        {meck, "1.0.0"},
        {bbmustache, "1.12.2"},
        {uuid, "2.0.7", {pkg, uuid_erl}},
        {gun, "2.1.0"},
        {worker_pool, "6.4.0"},
        {fast_scram, "0.6.1"}
]}.

{dialyzer, [
    {warnings, [unknown]},
    {plt_extra_apps, [common_test, exml, uuid, worker_pool, fast_scram]}]}.

%% To override the plugin as installed by worker_pool
{project_plugins,
 [rebar3_hex, {rebar3_codecov, "0.6.0"}]}.

{overrides, [
    {override, worker_pool, [{minimum_otp_vsn, "24"}]}
]}.

{relx, [{release, {escalus, git},
         [escalus]},
        {dev_mode, true},
        {sys_config, "./sys.config"},
        {include_erts, false}
       ]}.
{eunit_compile_opts, [{d,'EUNIT_TEST',true}]}.
{ct_opts, [{config, "test/test.config"}]}.
{dist_node, [
             {setcookie, 'ejabberd'},
             {sname, 'rebar3ct'}
            ]}.
