mix.exs 947 B

12345678910111213141516171819202122232425262728293031323334353637
  1. defmodule EMQXRuleEngine.MixProject do
  2. use Mix.Project
  3. alias EMQXUmbrella.MixProject, as: UMP
  4. def project do
  5. [
  6. app: :emqx_rule_engine,
  7. version: "0.1.0",
  8. build_path: "../../_build",
  9. erlc_options: UMP.erlc_options(),
  10. erlc_paths: UMP.erlc_paths(),
  11. deps_path: "../../deps",
  12. lockfile: "../../mix.lock",
  13. elixir: "~> 1.14",
  14. start_permanent: Mix.env() == :prod,
  15. deps: deps()
  16. ]
  17. end
  18. def application do
  19. [extra_applications: UMP.extra_applications(), mod: {:emqx_rule_engine_app, []}]
  20. end
  21. def deps() do
  22. UMP.jq_dep() ++ [
  23. {:emqx, in_umbrella: true},
  24. {:emqx_ctl, in_umbrella: true},
  25. {:emqx_utils, in_umbrella: true},
  26. {:emqx_modules, in_umbrella: true},
  27. {:emqx_resource, in_umbrella: true},
  28. {:emqx_bridge, in_umbrella: true},
  29. UMP.common_dep(:rulesql),
  30. UMP.common_dep(:emqtt),
  31. UMP.common_dep(:uuid),
  32. ]
  33. end
  34. end