28 lines
1.2 KiB
Erlang
28 lines
1.2 KiB
Erlang
{erl_opts, [
|
|
nowarn_unused_import,
|
|
debug_info
|
|
]}.
|
|
|
|
{deps, [
|
|
{jose, {git, "https://github.com/potatosalad/erlang-jose", {tag, "1.11.1"}}},
|
|
{eldap2, {git, "https://github.com/emqx/eldap2", {tag, "v0.2.2"}}},
|
|
{mysql, {git, "https://github.com/emqx/mysql-otp", {tag, "1.7.1"}}},
|
|
{epgsql, {git, "https://github.com/epgsql/epgsql", {tag, "4.4.0"}}},
|
|
%% NOTE: mind poolboy version when updating mongodb-erlang version
|
|
{mongodb, {git,"https://github.com/emqx/mongodb-erlang", {tag, "v3.0.7"}}},
|
|
%% NOTE: mind poolboy version when updating eredis_cluster version
|
|
{eredis_cluster, {git, "https://github.com/emqx/eredis_cluster", {tag, "0.6.7"}}},
|
|
%% mongodb-erlang uses a special fork https://github.com/comtihon/poolboy.git
|
|
%% (which has overflow_ttl feature added).
|
|
%% However, it references `{branch, "master}` (commit 9c06a9a on 2021-04-07).
|
|
%% By accident, We have always been using the upstream fork due to
|
|
%% eredis_cluster's dependency getting resolved earlier.
|
|
%% Here we pin 1.5.2 to avoid surprises in the future.
|
|
{poolboy, {git, "https://github.com/emqx/poolboy.git", {tag, "1.5.2"}}}
|
|
]}.
|
|
|
|
{shell, [
|
|
% {config, "config/sys.config"},
|
|
{apps, [emqx_connector]}
|
|
]}.
|