This for the target architecture of this POC:
##Note to self: For superdevmode to get updates from changed html templates you have to set "Production sources directory" in intellij ("File"->"Settings"->"Build, Execute, Deployment"->"Compiler"->"Annotation Processors") to "." for the html project. This is necessary each time after you sync intellij with gradle.
This project uses Gradle to manage dependencies.
The Gradle wrapper was included, so you can run Gradle tasks using gradlew.bat
or ./gradlew
commands.
Useful Gradle tasks and flags:
--continue
: when using this flag, errors will not stop the tasks from running.--daemon
: thanks to this flag, Gradle daemon will be used to run chosen tasks.--offline
: when using this flag, cached dependency archives will be used.--refresh-dependencies
: this flag forces validation of all dependencies. Useful for snapshot versions.android:lint
: performs Android project validation.build
: builds sources and archives of every project.clean
: removesbuild
folders, which store compiled classes and built archives.html:gwtDev
: compiles GWT sources and runs the application in SuperDev mode. Use only during development.desktop:jar
: builds application's runnable jar, which can be found atdesktop/build/libs
.desktop:run
: starts the application.server:run
: runs the server application.test
: runs unit tests (if any).
Note that most tasks that are not specific to a single project can be run with name:
prefix, where the name
should be replaced with the ID of a specific project.
For example, core:clean
removes build
folder only from the core
project.