GWT Gradle plugin:

This works for us for 2.8BETA

gwt {
    logLevel = 'INFO'

    maxHeapSize = "1024M";

    gwtVersion='2.8.0-beta1'

    modules 'com.newsrx.ButterAdmin'

    //jsInteropMode = "JS"

    compiler {
        disableClassMetadata = false;
        enableClosureCompiler = false;
        strict = true;
        style = "OBF";
        localWorkers = 1;
    }

    superDev {
        noPrecompile = false;
        failOnError = false;
        bindAddress = "0.0.0.0";
    }

    eclipse {
        addGwtContainer = false;
    }
}

We use this in combination with gretty for running under tomcat:

war {
    archiveName 'ContextName.war'
}

gretty {
    port = 8080;
    servletContainer = 'tomcat7'
    managedClassReload = false
    extraResourceBase 'build/gwt/out'
}

and dependencies:

dependencies {
    providedCompile 'com.google.gwt:gwt-servlet:'+gwt.gwtVersion // we
don't use gwt RPC, so providedCompile prevents unwanted gwt jar in war
    gwt 'com.google.gwt:gwt-user:'+gwt.gwtVersion
}



On 05/13/2016 10:40 AM, Paul Stockley wrote:

I have pushed preview versions of gwt-react, gwt-react-router and gwt-redux
to Maven Central. Check out the documentation for details.
https://github.com/GWTReact
Soon I hope to have a Gradle build file to make it easy to try out the
examples. I am just working around some issues with the Gradle gwt plugin
and GWT 2.8
My next priority is to finish the MobX integration and then work on
stabilizing the interface towards a 1.0 release. Our company will start
using gwt-react and gwt-mobx in a production application within the next 4
months. I am sure this will flush out any issues relatively quickly.
-- You received this message because you are subscribed to the Google
Groups "GWT Users" group. To unsubscribe from this group and stop receiving
emails from it, send an email to
google-web-toolkit+unsubscr...@googlegroups.com. To post to this group,
send email to google-web-toolkit@googlegroups.com. Visit this group at
https://groups.google.com/group/google-web-toolkit. For more options, visit
https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to