1515 */
1616
1717plugins {
18- id " com.jfrog.bintray" version " 1.7.3"
18+ id ' com.jfrog.bintray' version ' 1.7.3'
1919 id ' com.github.sherter.google-java-format' version ' 0.6'
20- id " com.jfrog.artifactory" version " 4.4.18"
20+ id ' com.jfrog.artifactory' version ' 4.5.2'
21+ id ' me.champeau.gradle.jmh' version ' 0.4.4'
2122}
2223
2324repositories {
@@ -41,6 +42,32 @@ subprojects {
4142 targetCompatibility = 1.8
4243 }
4344
45+ ext {
46+ // common
47+ jsr305Version = ' 3.0.2'
48+ reactorVersion = ' 3.1.0.RC1'
49+ nettyVersion = ' 4.1.15.Final'
50+ reactiveStreamsVersion = ' 1.0.1'
51+ slf4jVersion = ' 1.7.25'
52+ // aeron
53+ aeronVersion = ' 1.4.1'
54+ // netty
55+ reactorNettyVersion = ' 0.7.0.M2'
56+ // spectator
57+ spectatorVersion = ' 0.57.1'
58+ hdrHistogramVersion = ' 2.1.9'
59+ // tck-drivers
60+ jacksonVersion = ' 2.9.1'
61+ commonsLang3Version = ' 3.6'
62+ airlineVersion = ' 0.8'
63+ rxjavaVersion = ' 2.1.3'
64+ // test
65+ junitVersion = ' 4.12'
66+ hamcrestVersion = ' 1.3'
67+ mockitoVersion = ' 2.10.0'
68+ jmhVersion = ' 1.19'
69+ }
70+
4471 // custom tasks for creating source/javadoc jars
4572 task sourcesJar(type : Jar , dependsOn : classes) {
4673 classifier = ' sources'
@@ -65,17 +92,17 @@ subprojects {
6592 }
6693
6794 dependencies {
68- compile ' io.projectreactor:reactor-core:3.1.0.RC1 '
69- compile ' io.netty:netty-buffer:4.1.15.Final '
70- compile ' org.reactivestreams:reactive-streams:1.0.1 '
71- compile ' org.slf4j:slf4j-api:1.7.25 '
72- compile ' com.google.code.findbugs:jsr305:3.0.0 '
73-
74- testCompile ' junit:junit:4.12 '
75- testCompile ' org.mockito:mockito-core:1.10.19 '
76- testCompile ' org.hamcrest:hamcrest-library:1.3 '
77- testCompile ' org.slf4j:slf4j-log4j12:1.7.25 '
78- testCompile ' io.projectreactor:reactor-test:3.1.0.RC1 '
95+ compile " io.projectreactor:reactor-core:$r eactorVersion "
96+ compile " io.netty:netty-buffer:$n ettyVersion "
97+ compile " org.reactivestreams:reactive-streams:$r eactiveStreamsVersion "
98+ compile " org.slf4j:slf4j-api:$s lf4jVersion "
99+ compile " com.google.code.findbugs:jsr305:$j sr305Version "
100+
101+ testCompile " junit:junit:$j unitVersion "
102+ testCompile " org.mockito:mockito-core:$m ockitoVersion "
103+ testCompile " org.hamcrest:hamcrest-library:$h amcrestVersion "
104+ testCompile " org.slf4j:slf4j-log4j12:$s lf4jVersion "
105+ testCompile " io.projectreactor:reactor-test:$r eactorVersion "
79106 }
80107
81108 publishing {
@@ -141,8 +168,8 @@ subprojects {
141168 def sonatypeUsername = project. property(' sonatypeUsername' )
142169 def sonatypePassword = project. property(' sonatypePassword' )
143170 version {
144- name = " v${ project.getVersion() } "
145- vcsTag = " v${ project.getVersion() } "
171+ name = " v${ project.version } "
172+ vcsTag = " v${ project.version } "
146173 gpg {
147174 sign = true
148175 }
0 commit comments