summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rebar.config4
1 files changed, 3 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config
index d3968be5..7520a57c 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"}}}