forked from Netflix/curator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (73 loc) · 2.74 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
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
buildscript {
repositories { mavenCentral() }
apply from: file('gradle/buildscript.gradle'), to: buildscript
}
allprojects {
repositories { mavenCentral() }
}
apply from: file('gradle/convention.gradle')
apply from: file('gradle/maven.gradle')
//apply from: file('gradle/check.gradle')
//apply from: file('gradle/license.gradle')
apply from: file('gradle/release.gradle')
apply plugin: 'idea'
apply plugin: 'eclipse'
subprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
group = "com.netflix.${githubProjectName}" // TEMPLATE: Set to organization of project
dependencies {
compile('org.apache.zookeeper:zookeeper:3.4.5')
{
exclude group: 'com.sun.jmx', module: 'jmxri'
exclude group: 'com.sun.jdmk', module: 'jmxtools'
exclude group: 'javax.jms', module: 'jms'
// JLine pulls this in as a compile dependency, they have fixed it in future versions
exclude group: 'junit', module: 'junit'
}
compile 'com.google.guava:guava:11.0.1'
testCompile 'org.testng:testng:6.1.1'
testCompile 'log4j:log4j:1.2.16'
}
}
project(':curator-x-zkclient-bridge')
{
dependencies
{
compile 'com.netflix.curator:curator-client:1.3.3'
compile 'com.netflix.curator:curator-framework:1.3.3'
compile ('com.github.sgroschupf:zkclient:0.1')
{
exclude group: 'com.sun.jmx', module: 'jmxri'
exclude group: 'com.sun.jdmk', module: 'jmxtools'
exclude group: 'javax.jms', module: 'jms'
}
testCompile 'com.netflix.curator:curator-test:1.3.3'
testCompile 'org.slf4j:slf4j-api:1.6.4'
testCompile 'org.javassist:javassist:3.15.0-GA'
testCompile 'commons-io:commons-io:1.4'
testCompile 'org.mockito:mockito-core:1.8.0'
testCompile 'junit:junit:4.7'
}
}
project(':curator-x-apache-zkclient-bridge')
{
dependencies
{
compile 'org.apache.curator:curator-client:2.0.1-incubating'
compile 'org.apache.curator:curator-framework:2.0.1-incubating'
compile ('com.github.sgroschupf:zkclient:0.1')
{
exclude group: 'com.sun.jmx', module: 'jmxri'
exclude group: 'com.sun.jdmk', module: 'jmxtools'
exclude group: 'javax.jms', module: 'jms'
}
testCompile 'org.apache.curator:curator-test:2.0.1-incubating'
testCompile 'org.slf4j:slf4j-api:1.6.4'
testCompile 'org.javassist:javassist:3.15.0-GA'
testCompile 'commons-io:commons-io:1.4'
testCompile 'org.mockito:mockito-core:1.8.0'
testCompile 'junit:junit:4.7'
}
}