   # Type "mix help compile.app" for more information
   def application do
     [
-      applications: [:logger, :logger_json, :confex, :cowboy, :plug, :postgrex, :ecto, :joken, :nex_json_schema,
-                     :poison, :httpoison, :ex_statsd, :skycluster, :eview, :ecto_paging,
-                     :runtime_tools],
+      extra_applications: [:logger, :logger_json, :confex, :cowboy, :plug, :postgrex, :ecto, :joken,
+                           :nex_json_schema, :poison, :httpoison, :ex_statsd, :skycluster, :eview,
+                           :ecto_paging, :runtime_tools],
       mod: {Annon, []}
     ]
   end


  def project do
    [app: :annon_api,
     description: "Add description to your package.",
     package: package(),
     version: @version,
     elixir: "~> 1.3",
     elixirc_paths: elixirc_paths(Mix.env),
     compilers: [] ++ Mix.compilers,
     build_embedded: Mix.env == :prod,

  end

  defp aliases do
    ["ecto.setup": ["ecto.create --quiet", "ecto.migrate", "run priv/repos/seeds.exs"],
     "ecto.reset": ["ecto.drop", "ecto.setup"],
     "test":       ["ecto.create --quiet", "ecto.migrate", "test"]]
  end
end
