-
Notifications
You must be signed in to change notification settings - Fork 54
/
build.gradle
65 lines (48 loc) · 2.35 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
57
58
59
60
61
62
63
64
65
apply plugin: 'java'
apply plugin: 'application'
mainClassName = 'itx.examples.jetty.Main'
applicationDefaultJvmArgs = ["-Xms64M", "-Xmx64M" ]
sourceCompatibility = 11
targetCompatibility = 11
def jettyVersion = '9.4.26.v20200117'
def jerseyVersion = '2.30'
def slf4jVersion = '1.7.30'
repositories {
mavenCentral()
}
test {
useTestNG()
//testLogging.showStandardStreams = true
testLogging {
events "passed", "skipped", "failed"
}
if (System.properties['test.profile'] != 'integration') {
exclude '**/*ITTest*'
}
}
dependencies {
implementation "org.eclipse.jetty:jetty-server:${jettyVersion}"
implementation "org.eclipse.jetty:jetty-servlet:${jettyVersion}"
implementation "org.eclipse.jetty.http2:http2-server:${jettyVersion}"
implementation "org.eclipse.jetty.http2:http2-client:${jettyVersion}"
implementation "org.eclipse.jetty.http2:http2-http-client-transport:${jettyVersion}"
implementation "org.eclipse.jetty:jetty-alpn-server:${jettyVersion}"
implementation "org.eclipse.jetty:jetty-client:${jettyVersion}"
implementation "org.eclipse.jetty.websocket:websocket-api:${jettyVersion}"
implementation "org.eclipse.jetty.websocket:websocket-server:${jettyVersion}"
implementation "org.eclipse.jetty.websocket:websocket-client:${jettyVersion}"
implementation "org.eclipse.jetty:jetty-alpn-java-server:${jettyVersion}"
implementation "org.eclipse.jetty:jetty-alpn-java-client:${jettyVersion}"
implementation "com.fasterxml.jackson.core:jackson-databind:2.10.1"
implementation "javax.xml.bind:jaxb-api:2.3.1"
implementation "org.glassfish.jersey.core:jersey-server:${jerseyVersion}"
implementation "org.glassfish.jersey.containers:jersey-container-jetty-http:${jerseyVersion}"
implementation "org.glassfish.jersey.containers:jersey-container-servlet-core:${jerseyVersion}"
implementation "org.glassfish.jersey.media:jersey-media-json-jackson:${jerseyVersion}"
implementation "org.glassfish.jersey.inject:jersey-hk2:${jerseyVersion}"
implementation "org.jboss.resteasy:resteasy-servlet-initializer:4.4.2.Final"
implementation "javax.servlet:javax.servlet-api:4.0.1"
implementation "org.slf4j:slf4j-api:${slf4jVersion}"
implementation "org.slf4j:slf4j-simple:${slf4jVersion}"
testImplementation "org.testng:testng:7.3.0"
}