Access defproject version number within application code #156

jkndrkn opened this Issue Jan 12, 2011 · 4 comments

3 participants


Being able to access the version number specified via defproject within your application would be useful. Discussion with technomancy revealed that plugins running with lein can do this, but application source code can't.


I've needed to do this in tha past as well and ended up using something like this:


Set $PROJECT.version as system property. Closed by 48109fa.


Awesome. Looking forward to 1.5 ^_^


Shouldn't be long now.

@pjstadig pjstadig pushed a commit to pjstadig/leiningen that referenced this issue May 12, 2011
@technomancy Set $PROJECT.version as system property. Fixes #156. 48109fa
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment