Skip to content

Instantly share code, notes, and snippets.

@brianmarete
Last active April 26, 2019 12:00
Show Gist options
  • Save brianmarete/a2cea666a7dade0fa36f1eda862a731b to your computer and use it in GitHub Desktop.
Save brianmarete/a2cea666a7dade0fa36f1eda862a731b to your computer and use it in GitHub Desktop.
apply plugin: 'java'
apply plugin: 'application'
repositories {
jcenter()
}
dependencies {
compile 'com.sparkjava:spark-core:2.5.5'
compile 'org.slf4j:slf4j-simple:1.7.21'
compile 'com.sparkjava:spark-template-velocity:2.5.5'
compile 'org.sql2o:sql2o:1.5.4'
compile 'org.postgresql:postgresql:9.4–1201-jdbc41'
testCompile 'junit:junit:4.12'
}
test {
testLogging {
exceptionFormat = 'full' events "passed", "skipped", "failed"
}
}
applicationName = "todo"
mainClassName = 'App'
task stage(dependsOn: ['clean', 'installDist'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment