From 531c6998508b02e2247304b72e9dfa36b60d04ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Troels=20Irgens-M=C3=B8ller?= Date: Wed, 6 Oct 2021 14:39:03 +0200 Subject: [PATCH] Make sure Poison is included in mix release builds Since this library defines an explicit `applications` list in `mix.exs`, any dependency not in the list will not be included in a `mix release` build, unless it happens to be included by the parent project or another dependency. Since Poison is widely being replaced by Jason, this issue is becoming likely. This can be fixed by including `:poison` in `applications`. --- mix.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 71d4d1d..44ab697 100644 --- a/mix.exs +++ b/mix.exs @@ -23,7 +23,8 @@ defmodule JsonWebToken.Mixfile do applications: [ :crypto, :logger, - :public_key + :public_key, + :poison ] ] end