Unable to use Project property in play plugin

We are using play plugin to build one of our applications.The module which is a play webapp has a root gradle where we apply our custom plugin to generate version for all the modules included in the root gradle.I am unable to access the version using project.version inside the play model block where it renders the proper value outside the block.Let me know how should I get it.