-
Notifications
You must be signed in to change notification settings - Fork 53
/
mix.exs
50 lines (44 loc) · 984 Bytes
/
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
defmodule BroadwayKafka.MixProject do
use Mix.Project
@version "0.4.4"
@description "A Kafka connector for Broadway"
def project do
[
app: :broadway_kafka,
version: @version,
elixir: "~> 1.7",
name: "BroadwayKafka",
description: @description,
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:broadway, "~> 1.0"},
{:brod, "~> 3.16 or ~> 4.0"},
{:telemetry, "~> 0.4.3 or ~> 1.0"},
{:ex_doc, ">= 0.19.0", only: :docs}
]
end
defp docs do
[
main: "BroadwayKafka.Producer",
source_ref: "v#{@version}",
source_url: "https://github.com/dashbitco/broadway_kafka"
]
end
defp package do
%{
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/dashbitco/broadway_kafka"}
}
end
end