GWT Gradle plugin

Gradle plugin to support GWT related tasks.

Plugin Design

The plugin is designed to work with the following principles in mind (but can be configured to work different):

What does the plugin do with your project

This chapter describes what the plugin adds to your project and which default settings are changed.

Default directory structure

Using the default configuration, the plugin will use the following directory structures:

Plugin extension

An extension with name “gwt” of type de.richsource.gradle.plugins.gwt.GwtPluginExtension. For details on how to configure the plugin, please refer to the chapter “Plugin configuration”. Alternatively you can have a look at the source code of this class to check what can be configured.

Configuration

A configuration named “gwt” is added. This configuration should be used for all dependencies that are only needed by GWT itself (e.g. gwt-dev.jar). Dependencies associated with this configuration with be available at compile time but not at runtime.

Basic plugin tasks

The plugin at least configures the following tasks:

GWT with “war” plugin

If your project uses the “gwt” plugin together with the “war” plugin the following changes will happen:

GWT with “eclipse” plugin

If your project uses the “gwt” plugin together with the “eclipse” plugin the following changes will happen to your eclipse configuration:

GWT with “eclipse” and “war” plugins

If your project uses the “gwt” plugin together with the “eclipse” and “war” plugins the following changes will happen to your eclipse configuration (additionally to the ones described above):