forked from VPAC/rsa
/
build.gradle
74 lines (63 loc) · 2 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
66
67
68
69
70
71
72
73
74
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.bmuschko:gradle-tomcat-plugin:2.2.4'
}
}
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'com.bmuschko.tomcat'
dependencies {
def springVersion = '3.1.1.RELEASE'
def tomcatVersion = '7.0.59'
providedCompile (
"org.apache.tomcat:tomcat-catalina:$tomcatVersion",
)
compile (
'com.googlecode.lambdaj:lambdaj:2.3.3',
'com.sun.xml.bind:jaxb-impl:2.1',
'com.typesafe.akka:akka-actor_2.11:2.4.2',
'com.typesafe.akka:akka-cluster_2.11:2.4.2',
'com.typesafe.akka:akka-cluster-tools_2.11:2.4.2',
'commons-io:commons-io:1.3.2',
'commons-net:commons-net:3.4',
'javax.validation:validation-api:1.0.0.GA',
'org.codehaus.jackson:jackson-mapper-asl:1.7.1',
'org.hibernate:hibernate-validator:4.2.0.Final',
"org.springframework:org.springframework.web:$springVersion",
"org.springframework:org.springframework.web.servlet:$springVersion",
'rome:rome:1.0',
files('/usr/lib/gdal.jar'),
project(':rsaquery'),
project(':rsaquery').sourceSets.filter.output,
project(':storagemanager'),
)
runtime (
'commons-fileupload:commons-fileupload:1.2',
"org.springframework:spring-oxm:$springVersion",
)
tomcat (
"org.apache.tomcat.embed:tomcat-embed-core:$tomcatVersion",
"org.apache.tomcat.embed:tomcat-embed-logging-juli:$tomcatVersion",
"org.apache.tomcat.embed:tomcat-embed-jasper:$tomcatVersion",
)
testCompile (
'com.carrotsearch:junit-benchmarks:0.4.0',
"org.springframework:org.springframework.test:$springVersion",
sourceSets.main.output,
)
}
tasks.withType(Test) {
// Only run one test at a time, because many tests use the same datasets
maxParallelForks = 1
}
jar {
manifest {
attributes("Implementation-Title": "spatialcubeservice")
}
}
war {
baseName = 'rsa'
}