@@ -21,19 +21,30 @@ apply plugin: 'nebula.rxjava-project'
2121sourceCompatibility = JavaVersion . VERSION_1_6
2222targetCompatibility = JavaVersion . VERSION_1_6
2323
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+
2435dependencies {
2536 signature ' org.codehaus.mojo.signature:java16:1.1@signature'
2637
27- compile ' org.reactivestreams:reactive-streams:1.0.0 '
38+ compile " org.reactivestreams:reactive-streams:$r eactiveStreamsVersion "
2839
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 "
3142
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 "
3445
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 "
3748}
3849
3950javadoc {
@@ -47,7 +58,10 @@ javadoc {
4758 options. addStringOption(' top' ). value = ' '
4859 options. addStringOption(' doctitle' ). value = ' '
4960 options. addStringOption(' header' ). value = ' '
61+
5062 options. links(" http://docs.oracle.com/javase/7/docs/api/" )
63+ options. links(" http://www.reactive-streams.org/reactive-streams-${ reactiveStreamsVersion} -javadoc/" )
64+
5165 if (JavaVersion . current(). isJava7()) {
5266 // "./gradle/stylesheet.css" only supports Java 7
5367 options. addStringOption(' stylesheetfile' , rootProject. file(' ./gradle/stylesheet.css' ). toString())
0 commit comments