defmodule ExNifcloud.MixProject do use Mix.Project @version "0.0.2" @description """ Unofficial Nifcloud SDK for Elixir """ def project do [ app: :ex_nifcloud, version: @version, elixir: "~> 1.6", start_permanent: Mix.env() == :prod, description: @description, deps: deps(), package: package(), docs: [ main: "ExNifcloud", source_ref: "v#{@version}", source_url: "https://github.com/kzmake/ex_nifcloud" ] ] end defp package do [ description: @description, files: ["priv", "lib", "config", "mix.exs", "README*"], maintainers: ["kzmake"], licenses: ["MIT"], links: %{ github: "https://github.com/kzmake/ex_nifcloud" } ] end def application do [ extra_applications: [:logger, :hackney] ] end defp deps do [ {:ex_doc, ">= 0.0.0", only: :dev}, {:earmark, ">= 0.0.0", only: :dev}, {:sweet_xml, "~> 0.6", optional: true}, {:hackney, "1.6.3 or 1.6.5 or 1.7.1 or 1.8.6 or ~> 1.9", optional: true}, {:poison, ">= 1.2.0", optional: true}, {:jsx, "~> 2.8", optional: true}, {:dialyze, "~> 0.2.0", only: [:dev, :test]}, {:mox, "~> 0.3", only: :test}, {:bypass, "~> 0.7", only: :test}, {:configparser_ex, "~> 2.0", optional: true} ] end end