-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
Copy pathbuild.gradle
36 lines (31 loc) · 1.29 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
apply plugin: 'me.champeau.jmh'
dependencies {
api 'com.netflix.archaius:archaius-core:0.4.1'
api 'io.reactivex:rxjava:1.2.0'
implementation 'org.slf4j:slf4j-api:1.7.0'
api 'org.hdrhistogram:HdrHistogram:2.1.9'
testImplementation 'junit:junit-dep:4.10'
testImplementation project(':hystrix-junit')
}
javadoc {
// the exclude isn't working, nor is there a subPackages options as docs suggest there should be
// we do not want the com.netflix.hystrix.util package include
exclude '**/util/**'
options {
doclet = "org.benjchristensen.doclet.DocletExclude"
docletpath = [rootProject.file('./gradle/doclet-exclude.jar')]
stylesheetFile = rootProject.file('./gradle/javadocStyleSheet.css')
windowTitle = "Hystrix Javadoc ${project.version}"
}
options.addStringOption('top').value = '<a href="https://github.com/Netflix/Hystrix"><img width="92" height="79" border="0" align="left" src="http://netflix.github.com/Hystrix/images/hystrix-logo-small.png"></a><h2 class="title" style="padding-top:40px">Hystrix: Latency and Fault Tolerance for Distributed Systems</h2>'
}
jmh {
fork = 10
iterations = 3
jmhVersion = '1.15'
profilers = ['gc']
threads = 8
warmup = '1s'
warmupBatchSize = 1
warmupIterations = 5
}