-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
99 lines (81 loc) · 4.3 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
group 'com.smartlivedata'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: "jacoco"
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
ext {
// NB: due to version.json generation by parsing this file, the next line must not have any if/then/else logic
neo4jVersion = "3.3.4"
// instead we apply the override logic here
neo4jVersionEffective = project.hasProperty("neo4jVersionOverride") ? project.getProperty("neo4jVersionOverride") : neo4jVersion
}
dependencies {
compile group: 'commons-codec', name: 'commons-codec', version:'1.9'
compileOnly group: 'com.sun.mail', name: 'javax.mail', version: '1.6.0'
testCompile group: 'com.sun.mail', name: 'javax.mail', version: '1.6.0'
compile 'com.jayway.jsonpath:json-path:2.2.0'
compile 'org.hdrhistogram:HdrHistogram:2.1.9'
compile 'org.neo4j.driver:neo4j-java-driver:1.4.4'
compileOnly group: 'net.biville.florent', name: 'neo4j-sproc-compiler', version:'1.2'
compile 'com.novell.ldap:jldap:2009-10-07'
compileOnly group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.270'
testCompile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.270'
testCompile group: 'junit', name: 'junit', version:'4.12'
testCompile group: 'org.hamcrest', name: 'hamcrest-library', version:'1.3'
testCompile group: 'org.neo4j.test', name: 'neo4j-harness', version:neo4jVersionEffective
testCompile group: 'org.eclipse.jetty', name: 'jetty-server', version:'9.2.22.v20170606'
testCompile group: 'org.apache.derby', name: 'derby', version:'10.12.1.1'
testCompile group: 'org.neo4j', name: 'neo4j-enterprise', version:neo4jVersionEffective
testCompile group: 'org.neo4j', name: 'neo4j-common', version:neo4jVersionEffective, classifier: "tests"
testCompile group: 'org.neo4j', name: 'neo4j-com', version:neo4jVersionEffective, classifier: "tests"
testCompile group: 'org.neo4j', name: 'neo4j-causal-clustering', version:neo4jVersionEffective, classifier: "tests"
testCompile group: 'org.neo4j', name: 'neo4j-kernel', version:neo4jVersionEffective, classifier: "tests"
testCompile group: 'org.neo4j', name: 'neo4j-io', version:neo4jVersionEffective, classifier: "tests"
testCompile group: 'org.postgresql', name: 'postgresql', version: '42.1.4'
testCompile 'io.minio:minio:3.0.11'
def withoutServers = {
// exclude group: 'org.mortbay.jetty'
exclude group: 'org.eclipse.jetty'
exclude group: 'org.eclipse.jetty.aggregate'
exclude group: 'com.sun.jersey'
}
compileOnly group: 'org.apache.hadoop', name: 'hadoop-hdfs', version: '2.7.5', withoutServers
testCompile group: 'org.apache.hadoop', name: 'hadoop-hdfs', version: '2.7.5', withoutServers
compileOnly group: 'org.apache.hadoop', name: 'hadoop-common', version: '2.7.5', withoutServers
testCompile group: 'org.apache.hadoop', name: 'hadoop-common', version: '2.7.5', withoutServers
testCompile group: 'org.apache.hadoop', name: 'hadoop-minicluster', version: '2.7.5', withoutServers
compileOnly 'org.mongodb:mongodb-driver:3.2.2'
testCompile 'org.mongodb:mongodb-driver:3.2.2'
compileOnly 'com.couchbase.client:java-client:2.3.1'
testCompile 'com.couchbase.client:java-client:2.3.1'
compileOnly(group: 'org.neo4j', name: 'neo4j', version:neo4jVersionEffective)
compileOnly(group: 'org.neo4j', name: 'neo4j-enterprise', version:neo4jVersionEffective)
compileOnly(group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version:'1.9.7')
testCompile(group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version:'1.9.7')
compile(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.0')
compileOnly(group: 'org.ow2.asm', name: 'asm', version:'5.0.2')
compile group: 'com.github.javafaker', name: 'javafaker', version:'0.10'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination file("${buildDir}/jacocoHtml")
}
}
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.3"
}
}
apply plugin: "com.github.johnrengelman.shadow"