forked from zabirauf/ex_microsoftbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
65 lines (60 loc) · 1.64 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
defmodule ExMicrosoftBot.Mixfile do
use Mix.Project
def project do
[
app: :ex_microsoftbot,
version: "3.0.0",
elixir: "~> 1.8",
description: description(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
docs: [
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
]
]
end
def description do
"This library provides Elixir API wrapper for the Microsoft Bot Framework."
end
defp package do
[
licenses: ["MIT License"],
maintainers: ["Zohaib Rauf", "Ben Hayden"],
links: %{
"GitHub" => "https://github.com/zabirauf/ex_microsoftbot",
"Docs" => "https://hexdocs.pm/ex_microsoftbot/"
}
]
end
def application do
[
mod: {ExMicrosoftBot, []},
env: [
endpoint: "https://api.botframework.com",
openid_valid_keys_url:
"https://login.botframework.com/v1/.well-known/openidconfiguration",
issuer_claim: "https://api.botframework.com",
audience_claim: Application.get_env(:ex_microsoftbot, :app_id),
disable_token_validation: false
],
registered: [ExMicrosoftBot.TokenManager, ExMicrosoftBot.SigningKeysManager],
extra_applications: [:logger]
]
end
defp deps do
[
{:httpoison, "~> 2.2"},
{:poison, "~> 4.0"},
{:jose, "~> 1.7"},
{:timex, "~> 3.0"},
{:tzdata, "~> 1.0"},
{:inch_ex, "~> 2.0.0", only: :docs},
{:dialyxir, "~> 0.3", only: [:dev]},
{:ex_doc, "~> 0.19", only: [:dev]},
{:bypass, "~> 1.0", only: :test},
]
end
end