• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

steffenschaefer/gwt-gradle-plugin: Gradle plugin to support GWT (http://www.gwtp ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

steffenschaefer/gwt-gradle-plugin

开源软件地址(OpenSource Url):

https://github.com/steffenschaefer/gwt-gradle-plugin

开源编程语言(OpenSource Language):

Java 100.0%

开源软件介绍(OpenSource Introduction):

GWT Gradle Plugin

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.

Among other things, the plugin provides these features:

  • Running the GWT compiler and automatic inclusion of the compiled stuff in your *.war file
  • Starting GWT Dev Mode
  • Support for Super Dev Mode (GWT 2.5+)
  • Configuration of different GWT modules for development and production
  • GWT specific configuration of Eclipse projects

Resources

Examples

Several example projects can be found in /examples.

Usage

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 {
        jcenter()
        // Alternatively use:
//        maven {
//            url 'http://dl.bintray.com/steffenschaefer/maven'
//        }
    }
    dependencies {
        classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
    }
}

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

gwt {
    gwtVersion='2.7.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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
GWT Project发布时间:2022-06-11
下一篇:
maskarade/gradle-android-ribbonizer-plugin: Modifies launcher icons on debug bui ...发布时间:2022-06-11
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap