aboutsummaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-02-08 12:12:49 +0100
committerBadlop <badlop@process-one.net>2022-02-24 01:02:41 +0100
commit22b469f55d3586f2a853463a6374bad342b4ac71 (patch)
tree5a3bfc6879ba122b1ff4611241b4a3c772eccaea /rebar.config
parentmix.exs: Don't forget to include epam/luerl (diff)
The lager dependency is used only with old Erlang versions
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config4
1 files changed, 3 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config
index d3968be57..7520a57c7 100644
--- a/rebar.config
+++ b/rebar.config
@@ -39,7 +39,9 @@
{idna, ".*", {git, "https://github.com/benoitc/erlang-idna", {tag, "6.0.0"}}},
{jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "1.0.5"}}},
{jose, ".*", {git, "https://github.com/potatosalad/erlang-jose", {tag, "1.11.1"}}},
- {lager, ".*", {git, "https://github.com/erlang-lager/lager", {tag, "3.9.1"}}},
+ {if_version_below, "22",
+ {lager, ".*", {git, "https://github.com/erlang-lager/lager", {tag, "3.9.1"}}}
+ },
{if_var_true, lua,
{if_not_rebar3,
{luerl, ".*", {git, "https://github.com/rvirding/luerl", {tag, "1.0"}}}