Leiningen tasks are simply functions named $TASK
in a leiningen.$TASK
namespace. So writing a Leiningen plugin is just a matter of creating
a project that contains such a function, but much of this
documentation applies equally to the tasks that ship with Leiningen
itself.
Using the plugin is a matter of declaring it in the :plugins
entry
of the project map. If a plugin is a matter of user convenience rather