forked from Netflix/Prana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
72 lines (57 loc) · 2.16 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
ext.githubProjectName = "Prana"
group = "com.netflix.prana"
buildscript {
repositories {
//mavenLocal() // Enable in local builds if needed. This causes build to fail when local repo is corrupted.
mavenCentral() // maven { url 'http://jcenter.bintray.com' }
}
apply from: file('gradle/buildscript.gradle'), to: buildscript
}
repositories {
//mavenLocal() // Enable in local builds if needed. This causes build to fail when local repo is corrupted.
mavenCentral() // maven { url: 'http://jcenter.bintray.com' }
}
tasks.withType(Javadoc) {
if (JavaVersion.current().isJava8Compatible()) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
apply plugin: 'java'
apply from: file('gradle/convention.gradle')
apply from: file('gradle/maven.gradle')
apply from: file('gradle/license.gradle')
apply from: file('gradle/release.gradle')
//apply from: file('gradle/check.gradle')
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'application'
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
dependencies {
compile "org.slf4j:slf4j-api:${slf4j_version}"
compile 'com.netflix.ribbon:ribbon:2.0-RC9'
compile 'com.netflix.ribbon:ribbon-eureka:2.0-RC9'
compile 'com.netflix.ribbon:ribbon-transport:2.0-RC9'
compile 'com.netflix.karyon:karyon-governator:2.1.00-RC5'
compile 'com.netflix.karyon:karyon-eureka:2.1.00-RC5'
compile 'com.netflix.karyon:karyon-servo:2.1.00-RC5'
compile 'com.netflix.karyon:karyon-archaius:2.1.00-RC5'
compile 'com.netflix.karyon:karyon-admin-web:2.1.00-RC5'
compile 'com.netflix.blitz4j:blitz4j:1.35'
compile 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.3.3'
compile 'com.fasterxml.jackson.core:jackson-core:2.3.3'
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.3'
compile 'args4j:args4j:2.0.28'
testCompile 'junit:junit:4.11'
testCompile 'org.mockito:mockito-all:1.9.5'
}
test {
testLogging {
exceptionFormat = 'full'
}
}
run {
systemProperty 'eureka.validateInstanceId', 'false'
systemProperty 'eureka.serviceUrl.default', 'http://localhost:8080/eureka/v2/'
}
mainClassName = "com.netflix.prana.Main"