forked from Netflix/zuul
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
79 lines (65 loc) · 1.78 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
plugins {
id 'nebula.netflixoss' version '8.8.1'
id 'nebula.dependency-lock' version '9.0.0'
id "com.google.osdetector" version "1.6.2"
id "me.champeau.gradle.jmh" version "0.5.0"
}
ext.githubProjectName = rootProject.name
idea {
project {
languageLevel = '1.8'
}
}
configurations.all {
exclude group: 'asm', module: 'asm'
exclude group: 'asm', module: 'asm-all'
}
allprojects {
repositories {
jcenter()
}
}
subprojects {
apply plugin: 'nebula.netflixoss'
apply plugin: 'java'
apply plugin: 'nebula.javadoc-jar'
apply plugin: 'nebula.dependency-lock'
apply plugin: 'me.champeau.gradle.jmh'
license {
ignoreFailures = false
excludes([
"**/META-INF/services/javax.annotation.processing.Processor",
"**/META-INF/gradle/incremental.annotation.processors",
"**/*.cert",
"**/*.jks",
"**/*.key",
])
}
group = "com.netflix.${githubProjectName}"
sourceCompatibility = '1.8'
eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
}
tasks.withType(Javadoc).each {
it.classpath = sourceSets.main.compileClasspath
// Ignore Javadoc warnings for now, re-enable after Zuul 3.
it.options.addStringOption('Xdoclint:none', '-quiet')
}
ext {
libraries = [
guava: "com.google.guava:guava:29.0-jre",
junit: "junit:junit:4.13",
mockito: 'org.mockito:mockito-core:3.+',
slf4j: "org.slf4j:slf4j-api:1.7.25",
truth: 'com.google.truth:truth:1.0.1'
]
}
test {
testLogging {
showStandardStreams = true
}
}
}