Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefanreichert/hello-gradle
A simple Gradle multi-project build featuring a web and a command line interface to print some greetings to Gradle & Maven.
https://github.com/stefanreichert/hello-gradle
Last synced: 8 days ago
JSON representation
A simple Gradle multi-project build featuring a web and a command line interface to print some greetings to Gradle & Maven.
- Host: GitHub
- URL: https://github.com/stefanreichert/hello-gradle
- Owner: stefanreichert
- License: epl-1.0
- Created: 2016-04-04T07:54:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-04T11:50:52.000Z (almost 9 years ago)
- Last Synced: 2024-11-14T13:28:37.827Z (2 months ago)
- Language: Java
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello Gradle
## a very simple multi-project gradle setupDon't expect much functionality ;), this is only to blueprint a setup for a gradle multi-project build with two interface and a shared subproject.
The setup consists of 3 subprojects:
* hello-gradle-core - provides the greetings
* hello-gradle-cli - provides a command line interface
* hello-gradle-web - provides a web interfaceThe gradle war & tomcat plugins are used for the web interface subproject, the CLI subproject uses the gradle application plugin.
Running the CLI/web interfaces is dead simple:
* web interface: run 'gradle tomcatRun' and see http://localhost:8080/hello-gradle-web/greetings
* CLI : run 'gradle distZip', unpack the hello-gradle-clie/build/distributions/hello-gradle-cli-*.zip and run the executable in the bin directory