mix.exs 789 B

1234567891011121314151617181920212223242526272829303132
  1. defmodule EMQXSchemaValidation.MixProject do
  2. use Mix.Project
  3. alias EMQXUmbrella.MixProject, as: UMP
  4. def project do
  5. [
  6. app: :emqx_schema_validation,
  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_schema_validation_app, []}]
  20. end
  21. def deps() do
  22. [
  23. {:emqx, in_umbrella: true},
  24. {:emqx_utils, in_umbrella: true},
  25. {:emqx_rule_engine, in_umbrella: true},
  26. {:emqx_schema_registry, in_umbrella: true}
  27. ]
  28. end
  29. end