Quantcast

updating grailsw to a newer version

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

updating grailsw to a newer version

groovybayo
2.1.0 is out and congrats to the #grails team for constantly delivering and making great strides to give us an awesome framework.

Now to my question...

Suppose I have a project running on 2.1.0RC3 in which I am using the new wrapper functionality. How do I upgrade 'gradlew' to 2.1.0?

I don't see anyway to supply a version of grails with the 'gradle wrapper' command.

Do I have to download grails 2.1.0 on a machine, re-generate the wrapper with it and then check in the updated scripts and jars? While this will definitely work, something doesn't quite sit right with that.

In gradle, all I had to do is specify the version of gradle in build.gradle, and the rest is history.

Please advise
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: updating grailsw to a newer version

groovybayo
Just in case anyone else has the same questions, specify the version # to desire to use in application.properties and you are all set.

Thanks to @jeffscottbrown

In my case, i changed

app.grails.version (2.1.0.RC3 -> 2.1.0)
plugins.hibernate (2.1.0.RC3 -> 2.1.0)
plugins.tomcat (2.1.0.RC3 -> 2.1.0)

Hope that helps
Loading...