Hi All! So I'm very pleased that I got it working with my project that includes multiple gradle projects and the grails project has dependencies on some of them. However I had a few issues that maybe you can help me with:
First of all, I had to download the latest code from the git repo at https://github.com/grails/grails-gradle-plugin. The binary from the grails repo was an older 1.1.1-SNAPSHOT. So I built it and installed it to my local Maven repo and all was good. The Gradle plugin has interactive mode disable. This caused strange exceptions to be thrown. I tracked this down to the GrailsConsole. It turns out that it was trying to upgrade my hibernate and tomcat plugins. I enabled the interactive mode (commented out the disable property) and was able to upgrade. Was this because I didn't have hibernate and tomcat in my compile/runtime dependencies? Ultimately I had to put tomcat in the runtime dependency anyway. If this is the case then the particular exception could be caught and a more useful message could be printed to the user. The documentation is lacking pretty bad for anything but a very basic grails application. For instance, it doesn't explain how to use provided, test, build type dependencies. It doesn't explain how grails plugins would work in gradle. This was my experience coming from an existing grails project and trying to convert my BuildConfig.groovy to a gradle project. I would love for the gradle plugin to work seamlessly for folks like me and will put forth some patch requests at least for documentation and the like. But it would be helpful if anyone who has worked on it could provide me some direction. Thanks in advance! -Steve -- View this message in context: http://gradle.1045684.n5.nabble.com/gradle-grails-plugin-tp5710238.html Sent from the gradle-dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
