-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
40 lines (32 loc) · 945 Bytes
/
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
apply plugin: 'java'
apply plugin: 'application'
// Use Java 7 by default
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
// UTF-8 should be standard by now. So use it!
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
// The main class of the application
mainClassName = 'com.kredx.tastysearch.TastyApplication'
// Set our project variables
project.ext {
dropwizardVersion = '0.9.3'
}
repositories {
mavenCentral()
}
dependencies {
compile (
'io.dropwizard:dropwizard-core:' + dropwizardVersion,
'io.dropwizard:dropwizard-assets:' + dropwizardVersion,
'org.projectlombok:lombok:1.16.8',
'com.googlecode.concurrent-trees:concurrent-trees:2.5.0',
'io.dropwizard.metrics:metrics-core:3.1.0'
)
}
// Configure the run task to start the Dropwizard service
run {
args 'server', './src/config/tastysearch.yml'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.14'
}