forked from Netflix/astyanax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
141 lines (125 loc) · 4.31 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
// Establish version and status
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
buildscript {
repositories {
mavenLocal()
mavenCentral() // maven { url 'http://jcenter.bintray.com' }
}
apply from: file('gradle/buildscript.gradle'), to: buildscript
}
allprojects {
repositories {
mavenCentral() // maven { url: 'http://jcenter.bintray.com' }
}
}
apply plugin: 'idea'
apply plugin: 'osgi'
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 from: file('gradle/dependency-versions.gradle')
subprojects {
group = "com.netflix.${githubProjectName}"
apply plugin: 'eclipse'
dependencies {
compile "joda-time:joda-time:$jodaTimeVersion"
compile "com.github.stephenc.high-scale-lib:high-scale-lib:$highScaleLibVersion"
compile "com.google.guava:guava:$guavaVersion"
compile "com.eaio.uuid:uuid:$uuidVersion"
compile "org.slf4j:slf4j-api:$slf4jVersion"
compile "org.codehaus.jettison:jettison:$jettisonVersion"
compile "commons-codec:commons-codec:$commonsCodecVersion"
compile "commons-lang:commons-lang:$commonsLangVersion"
compile "com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:$concurrentLinkedHashMapVersion"
compile "org.codehaus.jackson:jackson-core-asl:$jacksonVersion"
compile "org.codehaus.jackson:jackson-mapper-asl:$jacksonVersion"
compile "org.xerial.snappy:snappy-java:$snappyVersion"
testCompile "junit:junit:$junitVersion"
}
}
project(':astyanax') {
dependencies {
compile project(':astyanax-core')
compile project(':astyanax-cassandra')
compile project(':astyanax-thrift')
compile project(':astyanax-queue')
compile project(':astyanax-recipes')
compile project(':astyanax-entity-mapper')
compile project(':astyanax-examples')
compile project(':astyanax-contrib')
}
}
project(':astyanax-core') {
apply plugin: 'osgi'
apply plugin: 'java'
dependencies {
testCompile "junit:junit:$junitVersion"
}
}
project(':astyanax-thrift') {
apply plugin: 'osgi'
apply plugin: 'java'
dependencies {
compile project(':astyanax-core')
compile project(':astyanax-cassandra')
compile "org.apache.cassandra:cassandra-thrift:$cassandraVersion"
compile "org.apache.thrift:libthrift:$thriftVersion"
}
}
project(':astyanax-queue') {
apply plugin: 'osgi'
apply plugin: 'java'
dependencies {
compile project(':astyanax-core')
compile project(':astyanax-cassandra')
compile project(':astyanax-thrift')
compile project(':astyanax-recipes')
}
}
project(':astyanax-cassandra') {
apply plugin: 'osgi'
apply plugin: 'java'
dependencies {
compile "org.apache.cassandra:cassandra-all:$cassandraVersion"
compile "org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-csv:$commonsCsvVersion"
compile "org.jboss.netty:netty:$nettyVersion"
compile project(':astyanax-core')
}
}
project(':astyanax-recipes') {
apply plugin: 'java'
dependencies {
compile project(':astyanax-core')
compile project(':astyanax-cassandra')
testCompile project(':astyanax-thrift')
}
}
project(':astyanax-entity-mapper') {
apply plugin: 'java'
dependencies {
compile project(':astyanax-core')
compile project(':astyanax-cassandra')
compile project(':astyanax-recipes')
compile "javax.persistence:persistence-api:$jpaVersion"
testCompile project(':astyanax-thrift')
testCompile "junit:junit:$junitVersion"
}
}
project(':astyanax-examples') {
apply plugin: 'java'
dependencies {
compile project(':astyanax-core')
compile project(':astyanax-cassandra')
compile project(':astyanax-thrift')
testCompile project(':astyanax-thrift')
}
}
project(':astyanax-contrib') {
apply plugin: 'java'
dependencies {
compile project(':astyanax-core')
compile 'com.netflix.eureka:eureka-client:1.1.110'
}
}