forked from Netflix/Hystrix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (42 loc) · 1.68 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
apply plugin: 'osgi'
apply plugin: 'me.champeau.gradle.jmh'
dependencies {
compileApi 'com.netflix.archaius:archaius-core:0.4.1'
compileApi 'io.reactivex:rxjava:1.2.0'
compile 'org.slf4j:slf4j-api:1.7.0'
compileApi 'org.hdrhistogram:HdrHistogram:2.1.9'
testCompile 'junit:junit-dep:4.10'
testCompile 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>'
}
jar {
manifest {
name = 'hystrix-core'
instruction 'Bundle-Vendor', 'Netflix'
instruction 'Bundle-DocURL', 'https://github.com/Netflix/Hystrix'
instruction 'Import-Package', '!org.junit,!junit.framework,!org.mockito.*,*'
instruction 'Eclipse-ExtensibleAPI', 'true'
instruction 'Embed-Dependency', '*;scope=compile'
}
}
jmh {
fork = 10
iterations = 3
jmhVersion = '1.15'
profilers = ['gc']
threads = 8
warmup = '1s'
warmupBatchSize = 1
warmupIterations = 5
}