-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
78 lines (66 loc) · 2.52 KB
/
Copy pathbuild.gradle
File metadata and controls
78 lines (66 loc) · 2.52 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
group 'planner'
version '1.0-SNAPSHOT'
apply plugin: 'idea'
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
subprojects {
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven {
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
ext.mainClassName = 'planner.bootstrap.PlannerApplication'
ext.configFile = 'src/main/resources/planner.yml'
}
shadowJar {
mergeServiceFiles()
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
manifest {
attributes 'Main-Class': 'planner.bootstrap.PlannerApplication'
}
}
configurations {
all*.exclude group: 'javax.ws.rs', module:'jsr311-api'
}
dependencies {
compile "io.dropwizard:dropwizard-bom:0.9.1"
compile "io.dropwizard:dropwizard-core:1.1.4"
compile "io.dropwizard:dropwizard-auth:1.1.4"
compile "io.dropwizard:dropwizard-assets:1.1.4"
compile "io.dropwizard:dropwizard-http2:1.1.4"
compile "io.dropwizard:dropwizard-hibernate:1.1.4"
compile "io.dropwizard:dropwizard-migrations:1.1.4"
compile "io.dropwizard:dropwizard-views-freemarker:1.1.4"
compile "io.dropwizard:dropwizard-views-mustache:1.1.4"
compile "io.dropwizard:dropwizard-metrics-graphite:1.1.4"
compile "com.hubspot.dropwizard:dropwizard-guice:+"
compile "com.google.inject:guice:3.0"
compile "com.h2database:h2:+"
compile "org.projectlombok:lombok:1.16.16"
compile "mysql:mysql-connector-java:5.1.36"
compile group: 'joda-time', name: 'joda-time', version: '2.3'
compile 'com.opencsv:opencsv:3.9'
compile ("io.swagger:swagger-jersey2-jaxrs:1.5.10") {
exclude group: 'javax.ws.rs', module:'jsr311-api'
}
compile ('io.swagger:swagger-jaxrs:1.5.10')
compile ('io.swagger:swagger-annotations:1.5.10')
testCompile "io.dropwizard:dropwizard-testing:1.1.4"
testCompile "org.mockito:mockito-core:+"
testCompile "org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-inmemory:+"
testCompile "org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-grizzly2:+"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
}