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

I think no need to be so strict in mix dependencies versions

This commit is contained in:
Badlop 2021-03-24 23:03:08 +01:00
parent 82bd7e5d5b
commit 815030a4f0

10
mix.exs
View File

@ -90,7 +90,7 @@ defmodule Ejabberd.Mixfile do
{:cache_tab, "~> 1.0"}, {:cache_tab, "~> 1.0"},
{:distillery, "~> 2.0"}, {:distillery, "~> 2.0"},
{:eimp, "~> 1.0"}, {:eimp, "~> 1.0"},
{:esip, "~> 1.0.32"}, {:esip, "~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev}, {:ex_doc, ">= 0.0.0", only: :dev},
{:fast_tls, "~> 1.1"}, {:fast_tls, "~> 1.1"},
{:fast_xml, "~> 1.1"}, {:fast_xml, "~> 1.1"},
@ -102,13 +102,13 @@ defmodule Ejabberd.Mixfile do
{:mqtree, "~> 1.0"}, {:mqtree, "~> 1.0"},
{:p1_acme, "~> 1.0"}, {:p1_acme, "~> 1.0"},
{:p1_mysql, "~> 1.0"}, {:p1_mysql, "~> 1.0"},
{:p1_oauth2, "~> 0.6.1"}, {:p1_oauth2, "~> 0.6"},
{:p1_pgsql, "~> 1.1"}, {:p1_pgsql, "~> 1.1"},
{:p1_utils, "~> 1.0"}, {:p1_utils, "~> 1.0"},
{:pkix, "~> 1.0"}, {:pkix, "~> 1.0"},
{:stringprep, "~> 1.0"}, {:stringprep, "~> 1.0"},
{:stun, "~> 1.0.41"}, {:stun, "~> 1.0"},
{:xmpp, "~> 1.5.1"}, {:xmpp, "~> 1.5"},
{:yconf, "~> 1.0"}] {:yconf, "~> 1.0"}]
++ cond_deps() ++ cond_deps()
end end
@ -126,7 +126,7 @@ defmodule Ejabberd.Mixfile do
end end
defp cond_deps do defp cond_deps do
for {:true, dep} <- [{config(:pam), {:epam, "~> 1.0.10"}}, for {:true, dep} <- [{config(:pam), {:epam, "~> 1.0"}},
{config(:redis), {:eredis, "~> 1.0"}}, {config(:redis), {:eredis, "~> 1.0"}},
{config(:zlib), {:ezlib, "~> 1.0"}}, {config(:zlib), {:ezlib, "~> 1.0"}},
{config(:lua), {:luerl, "~> 0.3.1"}}, {config(:lua), {:luerl, "~> 0.3.1"}},