Search code examples
grails

how to find your project current versions in grails


I want to know the versions of the software used while developing the project, Suppose If there is an existing project In grails ,so I want to know the version of grails as well as version of Groovy for that project


Solution

  • Metadata regarding a project in Grails is kept in application.properties.

    Within this file you will find the version of Grails used for the project under the key app.grails.version.

    The version of Groovy used however is not kept in this file and is determined by the version of Grails being used. To determine the version of Groovy used by a specific version of Grails visit the introduction section of the Grails documentation.

    edit

    As pointed out in another answer, if you have target version of Grails already downloaded you can search for the version of Groovy being used by that version of Grails.

    *nix

    $ cd grails-X.X.X 
    $ find . -name "groovy*jar"
    

    win32

    > cd grails-x.x.x
    > dir /s "groovy*.jar"