mix.exs 892 B

1234567891011121314151617181920212223242526272829303132333435
  1. defmodule EMQXAuthHTTP.MixProject do
  2. use Mix.Project
  3. alias EMQXUmbrella.MixProject, as: UMP
  4. def project do
  5. [
  6. app: :emqx_auth_http,
  7. version: "0.1.0",
  8. build_path: "../../_build",
  9. # config_path: "../../config/config.exs",
  10. erlc_options: UMP.erlc_options(),
  11. erlc_paths: UMP.erlc_paths(),
  12. deps_path: "../../deps",
  13. lockfile: "../../mix.lock",
  14. elixir: "~> 1.14",
  15. start_permanent: Mix.env() == :prod,
  16. deps: deps()
  17. ]
  18. end
  19. # Run "mix help compile.app" to learn about applications
  20. def application do
  21. [extra_applications: UMP.extra_applications(), mod: {:emqx_auth_http_app, []}]
  22. end
  23. def deps() do
  24. [
  25. {:emqx, in_umbrella: true},
  26. {:emqx_auth, in_umbrella: true},
  27. {:emqx_resource, in_umbrella: true},
  28. {:emqx_connector, in_umbrella: true},
  29. UMP.common_dep(:hocon)
  30. ]
  31. end
  32. end