Skip to content

Lotto24/dropwizard-template.g8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dropwizard-template

Build Status

A giter8 template for java gradle dropwizard applications.

Includes

  • findbugs
  • cobertura
  • checkstyle
  • integration-test source set
  • acceptance-test source set with cucumber
  • fatJar support

##Usage Install giter8, then:

g8 esailors/dropwizard-template

cd into your new project dir

chmod +x gradlew
./gradlew build
java -jar build/libs/your-project-version-farJar.jar db migrate example.yml
(there seems to be some bug, so you need to run it twice until the db changes are applied!?)

##Gradle Options ###Dropwizard App

Build and start application:
./gradlew run

###BDD with cucumber Add features and sources to src/acceptance-test/... Then run

./gradle acceptanceTest

A dummy test is already there. ###Integration tests Add junit tests to src/integration-test/java Then run

./gradlew build -PuseIntegrationTest=true

###Cobertura ./gradlew build -PuseCodeCoverage=true ###FindBugs ./gradlew build -PuseFindbugs=true ###FatJar ./gradlew fatJar

You can also combine these switches.

About

A giter8 template for java gradle dropwizard applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published