defmodule Oban.Plugins.Lazarus.MixProject do use Mix.Project def project do [ app: :oban_plugins_lazarus, version: "0.1.0", elixir: "~> 1.13", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), docs: docs(), name: "ObanPluginsLazarus", description: """ Fork of Oban Lifeline plugin. The only difference is that if a job limited to 1 attempt was found to be stuck executing it will be revived and allowed to try again. Lifeline would normally discard the job because it would be out of attempts. """ ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:oban, "< 3.0.0"}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ] end defp package do [ maintainers: ["lanodan"], licenses: ["Apache-2.0"], links: %{ "Gitlab" => "https://git.pleroma.social/pleroma/elixir-libraries/oban_plugins_lazarus/", "Issues" => "https://git.pleroma.social/pleroma/elixir-libraries/oban_plugins_lazarus/issues" } ] end defp docs do [ main: "readme", extras: ["README.md"] ] end end