forked from Netflix/dyno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
127 lines (105 loc) · 3.28 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
plugins {
id 'nebula.netflixoss' version '3.6.0'
}
// Establish version and status
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
apply plugin: 'osgi'
apply plugin: 'project-report'
subprojects {
apply plugin: 'nebula.netflixoss'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'nebula.compile-api'
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
jcenter()
}
group = "com.netflix.${githubProjectName}"
dependencies {
compileApi "joda-time:joda-time:2.3"
compileApi "org.slf4j:slf4j-api:1.7.6"
compileApi "org.slf4j:slf4j-log4j12:1.7.21"
compileApi "com.googlecode.json-simple:json-simple:1.1"
compileApi "org.apache.httpcomponents:httpclient:4.2.1"
compileApi "com.sun.jersey:jersey-core:1.11"
testCompile "junit:junit:4.11"
testCompile "org.mockito:mockito-all:1.9.5"
}
project.tasks.withType(Javadoc) {
if (JavaVersion.current().isJava8Compatible()) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
project(':dyno-core') {
apply plugin: 'osgi'
apply plugin: 'project-report'
dependencies {
compileApi "org.apache.commons:commons-math:2.2"
compileApi "commons-io:commons-io:2.4"
}
}
project(':dyno-contrib') {
apply plugin: 'osgi'
apply plugin: 'project-report'
dependencies {
compileApi project(':dyno-core')
compileApi "com.google.inject:guice:4.1.0"
compileApi "com.netflix.archaius:archaius-core:0.7.5"
compileApi "com.netflix.servo:servo-core:0.12.16"
compileApi 'com.netflix.eureka:eureka-client:1.6.2'
compileApi 'org.apache.commons:commons-lang3:3.5'
compileApi ('com.ecwid.consul:consul-api:1.2.1') {
exclude group: 'org.apache.httpcomponents'
}
testCompile 'com.pszymczyk.consul:embedded-consul:0.3.3'
}
}
project(':dyno-memcache') {
apply plugin: 'osgi'
apply plugin: 'project-report'
dependencies {
compileApi project(':dyno-core')
compileApi project(':dyno-contrib')
// compileApi "net.spy:spymemcached:2.10.2+"
}
}
project(':dyno-jedis') {
apply plugin: 'osgi'
apply plugin: 'project-report'
dependencies {
compileApi project(':dyno-core')
compileApi project(':dyno-contrib')
compileApi "redis.clients:jedis:2.8.1"
}
}
project(':dyno-redisson') {
apply plugin: 'osgi'
apply plugin: 'project-report'
dependencies {
compileApi project(':dyno-core')
compileApi project(':dyno-contrib')
compileApi "org.redisson:redisson:1.1.0"
}
}
project(':dyno-demo') {
apply plugin: 'osgi'
apply plugin: 'project-report'
dependencies {
compileApi project(':dyno-core')
compileApi project(':dyno-contrib')
compileApi project(':dyno-memcache')
compileApi project(':dyno-jedis')
compileApi project(':dyno-recipes')
}
}
project(':dyno-recipes') {
apply plugin: 'osgi'
apply plugin: 'project-report'
dependencies {
compileApi project(':dyno-core')
compileApi project(':dyno-jedis')
}
}