Use tag for xmpp dependency

This commit is contained in:
Paweł Chmielowski 2019-01-15 16:18:10 +01:00
parent 604856eeb9
commit 9bd38eff1e
2 changed files with 7 additions and 6 deletions

11
mix.exs
View File

@ -25,11 +25,12 @@ defmodule Ejabberd.Mixfile do
def application do def application do
[mod: {:ejabberd_app, []}, [mod: {:ejabberd_app, []},
applications: [:ssl, :os_mon, :lager, :mnesia, :inets, :p1_utils, :cache_tab, applications: [:ssl, :os_mon],
:fast_tls, :stringprep, :fast_xml, :xmpp, included_applications: [:lager, :mnesia, :inets, :p1_utils, :cache_tab,
:stun, :fast_yaml, :esip, :jiffy, :p1_oauth2, :fast_tls, :stringprep, :fast_xml, :xmpp,
:eimp, :base64url, :jose, :pkix] :stun, :fast_yaml, :esip, :jiffy, :p1_oauth2,
++ cond_apps()] :eimp, :base64url, :jose, :pkix]
++ cond_apps()]
end end
defp if_function_exported(mod, fun, arity, okResult) do defp if_function_exported(mod, fun, arity, okResult) do

View File

@ -24,7 +24,7 @@
{fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.26"}}}, {fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.26"}}},
{stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.14"}}}, {stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.14"}}},
{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.34"}}}, {fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.34"}}},
{xmpp, ".*", {git, "https://github.com/processone/xmpp", "91f4c40ebfc97cc39bff4d7900dc6fc34adaef6c"}}, {xmpp, ".*", {git, "https://github.com/processone/xmpp", {tag: "1.3.0"}},
{fast_yaml, ".*", {git, "https://github.com/processone/fast_yaml", {tag, "1.0.17"}}}, {fast_yaml, ".*", {git, "https://github.com/processone/fast_yaml", {tag, "1.0.17"}}},
{jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "0.14.8"}}}, {jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "0.14.8"}}},
{p1_oauth2, ".*", {git, "https://github.com/processone/p1_oauth2", {tag, "0.6.3"}}}, {p1_oauth2, ".*", {git, "https://github.com/processone/p1_oauth2", {tag, "0.6.3"}}},