-
Notifications
You must be signed in to change notification settings - Fork 45
/
build.gradle
155 lines (139 loc) · 5.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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
// Establish version and status
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
//ext.githubProjectName = "staash"
ext {
astyanax_version="1.56.48"
jersey_version="1.9.1"
}
buildscript {
repositories { mavenCentral() }
apply from: file('gradle/buildscript.gradle'), to: buildscript
}
allprojects {
repositories { mavenCentral() }
}
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'osgi'
apply from: file('gradle/convention.gradle')
apply from: file('gradle/maven.gradle')
apply from: file('gradle/release.gradle')
apply from: file('gradle/dependency-versions.gradle')
subprojects {
group = "com.netflix.${githubProjectName}" // TEMPLATE: Set to organization of project
dependencies {
compile 'org.codehaus.jackson:jackson-core-asl:1.9.7'
compile 'org.codehaus.jackson:jackson-mapper-asl:1.9.7'
compile 'com.netflix.archaius:archaius-core:0.1.4'
compile 'com.netflix.governator:governator:1.0.4'
compile 'javax.ws.rs:jsr311-api:1.1.1'
compile 'com.google.inject:guice:3.0'
compile 'com.google.inject.extensions:guice-multibindings:3.0'
compile 'com.sun.jersey:jersey-core:1.9.1'
compile 'com.sun.jersey.contribs:jersey-guice:1.9.1'
compile 'com.sun.jersey.contribs:jersey-multipart:1.9.1'
compile 'org.slf4j:slf4j-api:1.6.3'
compile 'javax.persistence:persistence-api:1.0'
compile 'com.google.guava:guava:14.0'
compile 'com.netflix.eureka:eureka-client:1.1.73'
compile 'cglib:cglib:2.2';
compile 'org.javassist:javassist:3.17.1-GA'
compile 'com.fasterxml.jackson.core:jackson-databind:2.2.2'
compile 'com.datastax.cassandra:cassandra-driver-core:1.0.1'
compile 'com.beust:jcommander:1.5'
compile 'org.hamcrest:hamcrest-all:1.1'
testCompile 'junit:junit:4.11'
testCompile 'org.mockito:mockito-core:1.8.5'
}
}
project(':staash-core') {
apply plugin: 'java'
dependencies {
testCompile 'junit:junit:4.11'
}
}
project(':staash-astyanax') {
apply plugin: 'java'
dependencies {
compile "com.netflix.astyanax:astyanax-core:$astyanax_version"
compile "com.netflix.astyanax:astyanax-thrift:$astyanax_version"
compile "com.netflix.astyanax:astyanax-cassandra:$astyanax_version"
compile "com.netflix.astyanax:astyanax-entity-mapper:$astyanax_version"
compile project(':staash-core')
testCompile 'junit:junit:4.11'
}
}
project(':staash-eureka') {
apply plugin: 'java'
dependencies {
compile project(':staash-core')
compile project(':staash-astyanax')
}
}
project(':staash-jetty') {
apply plugin: 'java'
dependencies {
compile 'javax.servlet:servlet-api:2.5'
compile 'com.sun.jersey:jersey-server:1.9.1'
compile 'org.eclipse.jetty:jetty-servlet:7.6.7.v20120910'
compile project(':staash-core')
compile project(':staash-astyanax')
compile project(':staash-eureka')
testCompile 'junit:junit:4.11'
}
}
project(':staash-mesh') {
apply plugin: 'java'
dependencies {
compile "com.netflix.astyanax:astyanax-core:$astyanax_version"
compile "com.netflix.astyanax:astyanax-thrift:$astyanax_version"
compile "com.netflix.astyanax:astyanax-cassandra:$astyanax_version"
compile project(':staash-core')
}
}
project(':staash-svc') {
apply plugin: 'java'
dependencies {
compile 'javax.servlet:servlet-api:2.5'
compile 'org.eclipse.jetty:jetty-servlet:7.6.7.v20120910'
compile "com.netflix.astyanax:astyanax-core:$astyanax_version"
compile "com.netflix.astyanax:astyanax-thrift:$astyanax_version"
compile "com.netflix.astyanax:astyanax-cassandra:$astyanax_version"
//provided 'org.glassfish.jersey.media:jersey-media-multipart:2.2'
//compile project(':staash-core')
//compile project(':staash-astyanax')
//compile project(':staash-eureka')
compile "com.netflix.astyanax:astyanax-recipes:$astyanax_version"
testCompile 'junit:junit:4.11'
}
}
//project(':staash-tomcat') {
//apply plugin: 'java'
//dependencies {
//compile 'javax.servlet:servlet-api:2.5'
//compile 'com.sun.jersey:jersey-server:1.9.1'
//compile 'org.apache.tomcat:tomcat-catalina:7.0.0'
//compile 'org.apache.tomcat.embed:tomcat-embed-core:7.0.0'
//compile 'org.apache.tomcat:jasper:7.0.0'
//compile 'tomcat:tomcat-util:7.0.16'
//compile 'org.apache.tomcat:tomcat-coyote:7.0.27'
//compile 'org.apache.tomcat:catalina:6.0.18'
//compile 'org.apache.tomcat:coyote:6.0.18'
//compile 'org.apache.tomcat:jasper:6.0.18'
//compile project(':staash-web')
//compile project(':staash-astyanax')
//compile project(':staash-eureka')
//compile project(':staash-svc')
//testCompile 'junit:junit:4.11'
//}
//}
project(':staash-web') {
apply plugin: 'war'
dependencies {
compile 'javax.servlet:servlet-api:2.5'
compile 'com.sun.jersey:jersey-server:1.9.1'
compile project(':staash-svc')
compile 'org.apache.cassandra:cassandra-all:1.2.3'
testCompile 'junit:junit:4.11'
}
}