emqx/apps/emqx_gateway_coap/mix.exs

42 lines
870 B
Elixir

defmodule EMQXGatewayCoap.MixProject do
use Mix.Project
alias EMQXUmbrella.MixProject, as: UMP
def project do
[
app: :emqx_gateway_coap,
version: "0.1.0",
build_path: "../../_build",
erlc_options: UMP.erlc_options(),
erlc_paths: UMP.erlc_paths(),
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[extra_applications: UMP.extra_applications()]
end
def deps() do
[
{:emqx, in_umbrella: true},
{:emqx_utils, in_umbrella: true},
{:emqx_gateway, in_umbrella: true}
] ++ test_deps()
end
defp test_deps() do
if UMP.test_env?() do
[
{:er_coap_client, github: "emqx/er_coap_client", tag: "v1.0.5"},
]
else
[]
end
end
end