forked from Netflix/astyanax
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
121 lines (107 loc) · 3.78 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
// 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 { 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/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}"
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-examples')
compile project(':astyanax-entity-mapper')
}
}
project(':astyanax-core') {
apply plugin: 'java'
dependencies {
testCompile "junit:junit:$junitVersion"
}
}
project(':astyanax-thrift') {
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: 'java'
dependencies {
compile project(':astyanax-core')
compile project(':astyanax-cassandra')
compile project(':astyanax-thrift')
compile project(':astyanax-recipes')
}
}
project(':astyanax-cassandra') {
apply plugin: 'java'
dependencies {
compile "org.apache.cassandra:cassandra-all:$cassandraVersion"
compile "org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-csv:$commonsCsvVersion"
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')
}
}