-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (39 loc) · 1.61 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: 'idea'
apply plugin: 'java'
group "org.robey.example"
version "1.0"
sourceCompatibility = 1.11
targetCompatibility = 1.11
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.compilerArgs << '-parameters'
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencies {
compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-jetty-http', version: '2.28'
compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.28'
compile 'org.glassfish.jersey.media:jersey-media-json-jackson:2.28'
compile 'org.glassfish.jersey.media:jersey-media-multipart:2.28'
compile "org.glassfish.jersey.inject:jersey-hk2:2.28"
compile "org.glassfish.hk2:guice-bridge:2.5.0"
// jetty, TODO: upgrade to latest version
compile 'org.eclipse.jetty:jetty-server:9.4.7.v20170914'
compile 'org.eclipse.jetty:jetty-servlet:9.4.7.v20170914'
//compile group: 'org.eclipse.jetty', name: 'jetty-servlets', version: '9.4.14.v20181114'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
// guice
compile 'com.google.inject:guice:4.2.2'
//compile 'com.google.inject.extensions:guice-${extension}:4.2.2'
compile 'com.google.inject.extensions:guice-servlet:4.2.2'
compile 'com.google.inject.extensions:guice-assistedinject:4.2.2'
compile 'com.google.inject.extensions:guice-multibindings:4.2.2'
// needed for JDK11
compile 'javax.xml.bind:jaxb-api:2.2.11'
compile 'com.sun.xml.bind:jaxb-core:2.2.11'
compile 'com.sun.xml.bind:jaxb-impl:2.2.11'
compile 'javax.activation:activation:1.1.1'
}