Starter project for Dropwizard using Gradle as the build system. Code is from the Dropwizard tutorial
Project uses ShadowJar to build an all-in-one, "fat jar".
-
Clone project
-
Run
gradlew build
- Start project
java -jar build/libs/dropwizard-gradle-starter-1.0.0-all.jar server src/main/yml/server.yml
- Browse to:
- http://localhost:8080/hello-world
- http://localhost:8080/hello-world?name=Successful+Dropwizard+User
- http://localhost:8081/
- See the Next steps section of tutorial