@@ -21,19 +21,30 @@ apply plugin: 'nebula.rxjava-project'
21
21
sourceCompatibility = JavaVersion . VERSION_1_6
22
22
targetCompatibility = JavaVersion . VERSION_1_6
23
23
24
+ // Dependency versions
25
+ // ---------------------------------------
26
+
27
+ def junitVersion = " 4.12"
28
+ def reactiveStreamsVersion = " 1.0.1"
29
+ def mockitoVersion = " 2.1.0"
30
+ def jmhVersion = " 1.16"
31
+ def testNgVersion = " 6.9.10"
32
+
33
+ // --------------------------------------
34
+
24
35
dependencies {
25
36
signature ' org.codehaus.mojo.signature:java16:1.1@signature'
26
37
27
- compile ' org.reactivestreams:reactive-streams:1.0.0 '
38
+ compile " org.reactivestreams:reactive-streams:$r eactiveStreamsVersion "
28
39
29
- testCompile ' junit:junit:4.12 '
30
- testCompile ' org.mockito:mockito-core:2.1.0 '
40
+ testCompile " junit:junit:$j unitVersion "
41
+ testCompile " org.mockito:mockito-core:$m ockitoVersion "
31
42
32
- perfCompile ' org.openjdk.jmh:jmh-core:1.16 '
33
- perfCompile ' org.openjdk.jmh:jmh-generator-annprocess:1.16 '
43
+ perfCompile " org.openjdk.jmh:jmh-core:$j mhVersion "
44
+ perfCompile " org.openjdk.jmh:jmh-generator-annprocess:$j mhVersion "
34
45
35
- testCompile ' org.reactivestreams:reactive-streams-tck:1.0.0 '
36
- testCompile group : ' org.testng' , name : ' testng' , version : ' 6.9.10 '
46
+ testCompile " org.reactivestreams:reactive-streams-tck:$r eactiveStreamsVersion "
47
+ testCompile " org.testng: testng: $t estNgVersion "
37
48
}
38
49
39
50
javadoc {
@@ -47,7 +58,10 @@ javadoc {
47
58
options. addStringOption(' top' ). value = ' '
48
59
options. addStringOption(' doctitle' ). value = ' '
49
60
options. addStringOption(' header' ). value = ' '
61
+
50
62
options. links(" http://docs.oracle.com/javase/7/docs/api/" )
63
+ options. links(" http://www.reactive-streams.org/reactive-streams-${ reactiveStreamsVersion} -javadoc/" )
64
+
51
65
if (JavaVersion . current(). isJava7()) {
52
66
// "./gradle/stylesheet.css" only supports Java 7
53
67
options. addStringOption(' stylesheetfile' , rootProject. file(' ./gradle/stylesheet.css' ). toString())
0 commit comments