scala - Find out play! version number (e.g. 2.1.3) in application code -


does know how find out version of play! application running during runtime? thought there might perhaps play.api.play.current.frameworkversion. searched api doc @ http://www.playframework.com/documentation/api/2.1.x/scala/index.html#package useful, not find anything. think hack writing sbt plugin version file during compile/stage can read @ runtime. hoping there less cumbersome way of doing this...

cheers, alex

how about:

play.core.playversion.current(); 

found in: http://www.playframework.com/documentation/api/2.2.0-m2/scala/index.html#play.core.playversion$


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -