38 lines
880 B
Elixir
38 lines
880 B
Elixir
defmodule EMQXResource.MixProject do
|
|
use Mix.Project
|
|
Code.require_file("../../lib/emqx/mix/common.ex")
|
|
|
|
def project do
|
|
[
|
|
app: :emqx_resource,
|
|
version: "0.1.0",
|
|
build_path: "../../_build",
|
|
config_path: "../../config/config.exs",
|
|
deps_path: "../../deps",
|
|
lockfile: "../../mix.lock",
|
|
elixir: "~> 1.12",
|
|
# start_permanent: Mix.env() == :prod,
|
|
# start_permanent: false,
|
|
deps: deps()
|
|
]
|
|
end
|
|
|
|
def application do
|
|
[
|
|
mod: {:emqx_resource_app, []},
|
|
applications: EMQX.Mix.Common.erl_apps(:emqx_resource),
|
|
# extra_applications: [:emqx, :emqx_conf],
|
|
]
|
|
end
|
|
|
|
defp deps do
|
|
[
|
|
# {:jsx, "3.1.0"},
|
|
# {:gproc, "0.9.0"},
|
|
{:hocon, github: "emqx/hocon", tag: "0.22.0", runtime: false},
|
|
{:emqx, in_umbrella: true},
|
|
{:emqx_conf, in_umbrella: true},
|
|
]
|
|
end
|
|
end
|