which version of grails? grails manages the version of the app in the application.properties file... you would either have to manage this property or execute the grails set-version anytime the grails version is changed. It actually seems easy to me to have grails manage the version and have gradle report and configure the version from that file. that way a grails user could do a grails set-version and gradle would report the right version. In that case, you would want to read in the property file in gradle and set the version to the app.version property.
for dependencies for each env... yes... pretty easy... look to this blog post for inspiration, then add a grails flair :) http://mrhaki.blogspot.com/2009/11/gradle-goodness-using-properties-for.html good luck! Ken Sipe | [email protected] | blog: http://kensipe.blogspot.com On Aug 12, 2011, at 3:02 PM, James Carr wrote: > Hi All, > > I've setup one of grails applications to deploy using gradle (with the > grails-gradle-plugin) and have a couple questions: > > * How can I override the version in grails with a version from my > build script? I'd rather set the version from gradle rather than > within grails > * Is there someway to include dependencies per environment? Currently > we have hsqldb and a couple other jars needed for dev/test going out > in our war when we deploy. Not a major issue, but I like to keep my > wars small. :) > > Thanks for the awesome plugin. It works well. ;) > > > Thanks, > James > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
