gwt-gradle-plugin
gwt-gradle-plugin copied to clipboard
MultiModule client-shared-server project
Can someone help me with configuration for classic 3-module project (client, shared, server)?
The sample project for configuration with gradle
mvn archetype:generate \
-DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/ \
-DarchetypeGroupId=net.ltgt.gwt.archetypes \
-DarchetypeArtifactId=modular-requestfactory \
-DarchetypeVersion=1.0-SNAPSHOT
https://github.com/tbroyer/gwt-maven-archetypes
Thanks.
What you need:
- Gradle multi-module build is explained in the Gradle documentation
- shared project is a simple java project
- server project is a simple java project and needs a compile dependency to shared
- client is a webapp project with
- compile dependency to shared and referencing the source of shared (see the examples how to do that)
- runtime dependency to server