-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (43 loc) · 1.25 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
apply plugin: 'java'
apply plugin: 'application'
group = "com.itomas.dropwizard"
version = 0.1
// Use Java 7 by default
//sourceCompatibility = '1.7'
//targetCompatibility = '1.7'
// UTF-8 should be standard by now. So use it!
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
// The main class of the application
mainClassName = 'com.itomas.dropwizard.PalindromeRESTApplication'
buildscript {
repositories {
mavenCentral()
}
}
// Set our project variables
project.ext {
dropwizardVersion = '0.8.1'
}
repositories {
mavenCentral()
}
dependencies {
compile 'io.dropwizard:dropwizard-core:' + dropwizardVersion
// Jetty
compile 'io.dropwizard:dropwizard-jetty:' + dropwizardVersion
// Jetty
compile 'io.dropwizard:dropwizard-jersey:' + dropwizardVersion
// Jetty
compile 'io.dropwizard:dropwizard-jackson:' + dropwizardVersion
// Jetty
compile 'io.dropwizard:dropwizard-configuration:' + dropwizardVersion
// Logging
compile 'io.dropwizard:dropwizard-logging:' + dropwizardVersion
// Testing
testCompile 'io.dropwizard:dropwizard-testing:' + dropwizardVersion
testCompile 'junit:junit:4.9'
}
// Configure the run task to start the Dropwizard service
run {
args 'server', './src/dist/config/palindrome.yml'
}