This is all I need to compile (actually validate) RxJava (https://github.com/ibaca/RxJava/commit/42372bb989490698b2e4862454ec469635a8f132). Only sourceSets, configurations and the gwtCompile goal is relevant. I think for an app project you will need a bit more because if you want to create a war you should define the outputs of your task, but anyway doing it manually seems to worth it.
On Mon, Aug 21, 2017 at 12:58 PM Thomas Broyer <t.broyer@gmail.com> wrote:
On Monday, August 21, 2017 at 9:54:09 AM UTC+2, deba...@ainosoft.com wrote:Is there any effort you know for creating a gradle gwt plugin on similar lines to your gwt-maven-plugin ?There's IMO no point in creating a Gradle plugin "on similar lines", because it's so easy to just use a JavaExec task to run GWT, it might actually be a good idea to group client, shared and server code in the same Gradle project, using custom sourceSets (things you simply cannot do with Maven), and creating a GWT library is a 3-liner (there might also be better ways to organize code for shared libraries than with Maven, with a single Gradle project producing 2 JARs; again something simply impossibly with Maven).(OK, things might actually be slightly different for unit tests)There are at least 2 Gradle plugins for GWT though: https://github.com/steffenschaefer/gwt-gradle-plugin and https://github.com/Putnami/putnami-gradle-pluginI personally haven't used any of them because, well, the GWT apps I work on actually use Maven (for… reasons), or are only libraries that are still incubating (e.g. https://github.com/tbroyer/gwt-events)Can you kindly point me to a gwt gradle project sample ?--I know Putnami has sample projects, and you should be able to find others on GitHub searching for the plugin IDs.
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+unsubscribe@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+unsubscribe@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.
No comments:
Post a Comment