-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathbuild.gradle
32 lines (25 loc) · 998 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
apply plugin: 'war'
dependencies {
compile project(':eureka-client')
compile project(':eureka-core')
compile "com.sun.jersey:jersey-server:$jerseyVersion"
compile "com.sun.jersey:jersey-servlet:$jerseyVersion"
compile 'org.slf4j:slf4j-log4j12:1.6.1'
compile 'org.glassfish.jaxb:jaxb-runtime:2.3.3'
runtimeOnly 'xerces:xercesImpl:2.12.0'
runtimeOnly 'org.codehaus.jettison:jettison:1.2'
providedCompile "javax.servlet:servlet-api:$servletVersion"
testCompile project(':eureka-test-utils')
testCompile "org.mockito:mockito-core:${mockitoVersion}"
testCompile "org.eclipse.jetty:jetty-server:$jetty_version"
testCompile "org.eclipse.jetty:jetty-webapp:$jetty_version"
}
task copyLibs(type: Copy) {
into 'testlibs/WEB-INF/libs'
from configurations.runtime
}
war {
from (project(':eureka-resources').file('build/resources/main'))
}
// Integration test loads eureka war, so it must be ready prior to running tests
test.dependsOn war