On 24/09/2012, at 6:26 PM, iamsteveholmes wrote: > 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.
I'll be cutting a 1.1.1 in the coming weeks and publishing. > 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. This would have to be fixed on the Grails side. > 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. I wrote the plugin so can answer your questions. Feel free to email me direct. Any help on the documentation would be greatly appreciated. -- Luke Daley Principal Engineer, Gradleware http://gradleware.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
