Add namespace as a dependency in project

Is it feasible to add only this one Leiningen namespace as a dependency in a project (standard project and not lein template)? I found this namespace is originated from lein-newnew (now deprecated) which means at one time this was possible.

I know that I could use whole Leiningen as a dependency and refer only those namespaces that are needed but it doesn't look so optimal - whole Leiningen would be packed in uberjar and I need just few functions from a namespace.


As far as I know, there is no way to just import a namespace from a project (ex. from clojars, maven etc.). It would probably be quite a bit of trouble (think about dependencies, eventual configuration, the namespace may not even be part of the public api...).

So I would either :

  • depend on the whole other project, fortunately in your case you can depend on leiningen-core
  • copy-paste the code into your project (assuming the respective licences allow it of course). This has the added benefit that you will be able to modify it to suit your needs.

You can actually see an example of this "in the wild", in the boot-new repository.

Need Your Help

How to disable all rows of HTML table?

javascript jquery html knockout.js

[Not exactly the same as the question "how to disable knockout click...". My question involves specific usage of an HTML table and contains valuable approaches on solving such case.]

How to remove tags from sceditor textarea result

javascript php jquery

I m using sceditor in website if i add some text into and change styles and save into database. it storing with sceditor tags like,