Gradle plugin to support GWT related tasks.
TODO GPE vs Maven/Gradle Standard-Layout
In general there are two methods of importing Gradle projects into Eclipse:
Both methods have advantages and the gwt-gradle-plugin doesn't force you to use either one.
Importing projects using this method should be working out of the box as the plugin manipulates the eclipse model accordingly. What you have to do is:
Whenever you change something that is relevant for eclipse, simply rerun "gradle eclipse".
Importing a project to Eclipse using this approach can be a little bit tricky, but if you pay attention to some details, this will work very well.
As the gwt-gradle-plugin must specify special settings for the Eclipse configuration, you have to "apply plugin: 'eclipse'" in your build.gradle.
Assumed you already installed Gradle Integration for Eclipse, the following steps are necessary to import the project to your Eclipse workspace:
If you have enable "dependency management" and you are faced with Classloading issues that do not occur in Gradle, try the following: Go to the project settings and open the page "gradle". Select "As returned by build script" for "Classpath sorting strategy".
Whenever you change something that is relevant for eclipse, right-click on your project and select best-matching "Refresh" command in the menu named "Gradle".