Changing the version in all the submodules of a multimodule grails project

Hi In a multi module grails plugin project, can you please let me know a way of changing the versions of the plugins of all the submodules from Jenkins using build.gradle.

Is there, anything similar to mvn versions:set -DnewVersion ?

Thanks smurf