forked from Netflix/recipes-rss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
113 lines (100 loc) · 3.91 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
// 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 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')
subprojects {
group = "com.netflix.${githubProjectName}" // TEMPLATE: Set to organization of project
dependencies {
compile 'org.slf4j:slf4j-api:1.7.2'
compile 'io.netty:netty:3.6.1.Final'
compile 'com.netflix.servo:servo-core:0.4.32'
compile 'com.google.guava:guava:11.0.2'
compile 'com.google.inject:guice:3.0'
compile 'com.netflix.archaius:archaius-core:0.5.4'
compile 'com.netflix.netflix-commons:netflix-commons-util:0.1.1'
compile 'javax.ws.rs:jsr311-api:1.1.1'
compile 'commons-collections:commons-collections:3.2.1'
compile 'com.sun.jersey:jersey-server:1.13'
compile 'com.sun.jersey:jersey-core:1.13'
compile 'com.sun.jersey:jersey-bundle:1.13'
compile 'com.sun.jersey.contribs:jersey-guice:1.13'
compile 'com.netflix.eureka:eureka-client:1.1.73'
compile 'com.netflix.blitz4j:blitz4j:1.21'
compile 'jetty:jetty:6.0.2'
compile 'jetty:servlet-api:2.5-6.0.2'
compile 'jetty:jetty-util:6.0.2'
compile 'jetty:jsp:2.1-6.0.2'
compile 'jetty:jsp-api:2.1-6.0.2'
compile 'com.netflix.hystrix:hystrix-core:1.2.5'
compile 'com.netflix.hystrix:hystrix-metrics-event-stream:1.2.5'
compile 'com.netflix.hystrix:hystrix-servo-metrics-publisher:1.2.5'
compile 'com.netflix.ribbon:ribbon-core:0.1.2'
compile 'com.netflix.ribbon:ribbon-eureka:0.1.2'
compile 'com.netflix.ribbon:ribbon-httpclient:0.1.2'
compile 'com.netflix.governator:governator:1.0.3'
compile 'com.netflix.karyon:karyon-core:1.0.2'
compile 'com.netflix.karyon:karyon-admin-web:1.0.2'
testCompile 'junit:junit:4.10'
testCompile 'log4j:log4j:1.2.16'
runtime 'org.slf4j:slf4j-log4j12:1.6.1'
runtime 'org.apache.maven.plugins:maven-antrun-plugin:1.6'
}
}
project(':rss-core') {
apply plugin: 'java'
dependencies {
compile 'com.netflix.netflix-commons:netflix-statistics:0.1.1'
}
}
project(':rss-middletier') {
apply plugin: 'java'
dependencies {
compile project(':rss-core')
compile 'org.apache.httpcomponents:httpclient:4.1.2'
compile 'com.netflix.astyanax:astyanax:1.56.16'
compile 'asm:asm-all:3.2'
compile 'commons-io:commons-io:2.4'
compile 'commons-configuration:commons-configuration:1.9'
compile 'com.sun.jersey:jersey-server:1.9.1'
}
jar {
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
manifest { attributes 'Main-Class': 'com.netflix.recipes.rss.server.MiddleTierServer' }
}
}
project(':rss-edge') {
apply plugin: 'java'
dependencies {
compile project(':rss-core')
compile 'com.amazonaws:aws-java-sdk:1.3.27'
compile 'commons-io:commons-io:2.4'
compile 'org.json:json:20090211'
}
jar {
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
manifest { attributes 'Main-Class': 'com.netflix.recipes.rss.server.EdgeServer' }
}
}