forked from Netflix/Priam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
114 lines (101 loc) · 3.43 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
// Establish version and status
ext.githubProjectName = 'Priam'
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 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'
subprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'java'
group = "com.netflix.priam"
configurations {
provided
compile.extendsFrom provided
}
dependencies {
compile "commons-lang:commons-lang:2.6"
compile "commons-logging:commons-logging:1.1.1"
compile "commons-collections:commons-collections:3.2.1"
compile "commons-io:commons-io:2.0.1"
compile "commons-cli:commons-cli:1.2"
compile "commons-httpclient:commons-httpclient:3.1"
compile "com.sun.jersey.contribs:jersey-multipart:1.1.4.1"
compile "com.sun.jersey:jersey-json:1.9.1"
compile "com.google.guava:guava:14.0.1"
compile "com.google.code.findbugs:jsr305:1.3.9"
compile "com.amazonaws:aws-java-sdk:1.3.27"
compile "com.google.inject:guice:3.0"
compile "com.sun.jersey:jersey-bundle:1.9.1"
compile "com.sun.jersey.contribs:jersey-guice:1.9.1"
compile "com.google.inject.extensions:guice-servlet:3.0"
compile "com.google.code.findbugs:jsr305:1.3.9"
compile "org.quartz-scheduler:quartz:1.7.3"
compile "com.googlecode.json-simple:json-simple:1.1"
compile "org.xerial.snappy:snappy-java:1.0.5-M3"
compile "org.yaml:snakeyaml:1.10"
compile "org.apache.cassandra:cassandra-all:[1.2.0,2.0["
compile "javax.ws.rs:jsr311-api:1.1.1"
compile "joda-time:joda-time:2.0"
compile "commons-configuration:commons-configuration:1.5"
compile "xerces:xercesImpl:2.4.0"
compile "net.java.dev.jna:jna:3.2.3"
compile "org.apache.httpcomponents:httpcore:4.2"
compile "com.ning:compress-lzf:0.9.5"
compile "org.slf4j:slf4j-api:1.6.1"
compile "org.slf4j:slf4j-log4j12:1.6.1"
provided "javax.servlet:servlet-api:2.5"
testCompile "com.googlecode.jmockit:jmockit:0.999.17"
testCompile "junit:junit:4.8"
}
}
project(':priam-cass-extensions') {
jar {
manifest { attributes 'Premain-Class': 'com.netflix.priam.cassandra.extensions.PriamStartupAgent' }
}
dependencies {
}
}
project(':priam') {
dependencies {
}
test {
// -Xms256m -Xmx1024m -XX:MaxPermSize=512m
// -javaagent:"${settings.localRepository}"/com/googlecode/jmockit/jmockit/0.999.12/jmockit-0.999.12.jar
}
}
project(':priam-dse-extensions') {
dependencies {
compile project(':priam')
}
}
project(':priam-web') {
apply plugin: 'war'
apply plugin: 'jetty'
dependencies {
compile project(':priam')
compile project(':priam-agent')
compile project(':priam-dse-extensions')
compile project(':priam-cass-extensions')
}
}
project(':priam-agent') {
dependencies {
compile project(':priam')
compile 'com.netflix.astyanax:astyanax:1.56.23'
}
}