forked from Netflix/eureka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
76 lines (62 loc) · 1.59 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
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:2.2.+'
}
}
plugins {
id 'nebula.netflixoss' version '3.6.0'
}
idea {
project {
languageLevel = '1.8'
}
}
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
allprojects {
ext {
githubProjectName = 'eureka'
awsVersion = '1.11.277'
servletVersion = '2.5'
jerseyVersion = '1.19.1'
jettisonVersion = '1.3.7'
apacheHttpClientVersion = '4.5.3'
guiceVersion = '4.1.0'
servoVersion = '0.12.21'
governatorVersion = '1.17.5'
archaiusVersion = '0.7.6'
jacksonVersion = '2.9.4'
woodstoxVersion = '4.4.1'
// test deps
jetty_version = '7.2.0.v20101020'
junit_version = '4.11'
mockitoVersion = '1.10.19'
mockserverVersion = '3.9.2'
}
}
subprojects {
apply plugin: 'nebula.netflixoss'
apply plugin: 'java'
group = "com.netflix.${githubProjectName}"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
}
test {
forkEvery = 1
// setting this property prevents java from grabbing focus when running the tests under osx
systemProperty 'java.awt.headless', 'true'
}
jar {
manifest {
attributes('Build-Time-ISO-8601': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"))
}
}
}