defmodule Oban.Plugins.Lazarus.MixProject do use Mix.Project def project do [ app: :oban_plugins_lazarus, version: "0.1.1", elixir: "~> 1.13", start_permanent: Mix.env() == :prod, name: "Oban Plugins Lazarus", description: description(), package: package(), docs: docs(), deps: deps() ] end def application do [ extra_applications: [:logger] ] end defp description do "Oban plugin that rescues orphaned jobs stuck in executing state, reviving single-attempt jobs that would otherwise be discarded." end defp package do [ licenses: ["Apache-2.0"], links: %{"GitLab" => "https://git.pleroma.social/pleroma/elixir-libraries/oban_plugins_lazarus"}, files: ~w(lib mix.exs README* LICENSE*) ] end defp docs do [ main: "readme", extras: ["README.md"] ] end defp deps do [ {:oban, "< 3.0.0"}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ] end end