forked from Netflix/eureka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
79 lines (66 loc) · 1.74 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
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:2.2.+'
}
}
plugins {
id 'nebula.netflixoss' version '8.8.1'
id 'org.gretty' version '2.1.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.4.0'
apacheHttpClientVersion = '4.5.3'
commonsConfigurationVersion = '1.10'
jsr305Version = '3.0.2'
guiceVersion = '4.1.0'
servoVersion = '0.12.21'
governatorVersion = '1.17.5'
archaiusVersion = '0.7.6'
jacksonVersion = '2.9.10'
jacksonDatabindVersion = '2.9.10.6'
woodstoxVersion = '5.2.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"))
}
}
}