Jiakuan Gwt Gradle Plugin Save

Gradle plugin to support GWT related tasks.

Project README

GWT Gradle Plugin

Build Status

This plugin makes it easy to build projects using GWT. It provides several tasks to support the development and configures several aspects of your project to work with GWT automatically.

It was originally created by Steffen Schaefer. Really appreciate his effort on making this great plugin.

In last two years, there were no updates in the original git repo, so we plan to continue the maintenance in this fork.

For more information, please see the latest documentation site: http://gwt-gradle.docstr.org

Usage

GWT Gradle Plugin is available in the Gradle Plugin Portal.

Using the plugins DSL:

plugins {
  id "org.docstr.gwt" version "1.1.30"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.docstr:gwt-gradle-plugin:1.1.30"
  }
}

apply plugin: "org.docstr.gwt"

GWT Gradle Plugin is also available in Maven central repository.

The following example shows the code to set up gwt-gradle-plugin for a GWT web application project using Maven/Gradle standard layout.

buildscript {
    repositories {
        mavenCentral()
        maven {
            url "https://plugins.gradle.org/m2/"
        }
    }
    dependencies {
        classpath 'org.docstr:gwt-gradle-plugin:1.1.30'
    }
}

apply plugin: 'war'
apply plugin: 'gwt'

gwt {
    gwtVersion='2.10.0'
    modules '<YOUR-GWT-MODULE>'
}

This will configure your GWT web project to execute the GWT compiler and include the compiler output into your *.war file. The code shown above also configures all GWT core dependencies (gwt-dev, gwt-user, gwt-servlet, ...).

To build the *.war file including your compiled GWT modules, simply call "gradle build". If you want to start the GWT development mode simply call "gradle gwtDev".

To learn about different scenarios or more specific configuration needs, please refer to the Documentation.

How to build

If you are on macOS or Linux, you can use the following commands to clean and build the project.

make clean build

If you are on Windows, you can use gradle wrapper to build.

gradlew.bat clean build
Open Source Agenda is not affiliated with "Jiakuan Gwt Gradle Plugin" Project. README Source: jiakuan/gwt-gradle-plugin
Stars
64
Open Issues
12
Last Commit
7 months ago

Open Source Agenda Badge

Open Source Agenda Rating