I'm building a system using a Gradle multi-project build. So far we have multiple projects working fine, using the Java and Eclipse Plugins. I'm really impressed with how simple this was and the fact that Eclipse and Gradle play so well together.
We need to add a user interface to our system and have decided to go with a GWT project, so I want to add this as another sub-project of my gradle build.
I've played with GWT using it's Eclipse plugin and building it from the command line with the Ant build scripts generated by GWT. This all works great, but when I try to combine Eclipse, GWT and Gradle I can't figure out how to do this.
I want gradle to manage my dependencies both from the command line and eclipse, because I will have dependencies on other sub projects. But when I find solutions online for doing gradle builds of GWT they usually involve moving the src structure away from the GWT structure to match Gradle's, this breaks the GWT plugin for eclipse.
Can anyone point me at a way to create a new GWT project which can be built by gradle and use it's dependency management system and that will work in Eclipse, so that the eclipse classpath is updated to reflect the dependencies in Gradle and I can still use the GWT plugin for launching and debugging the app?