15
15
*/
16
16
17
17
plugins {
18
- id ' com.gradle.build-scan' version ' 1.16 '
18
+ id ' com.gradle.build-scan' version ' 2.4.2 '
19
19
20
- id ' com.github.sherter.google-java-format' version ' 0.7.1 ' apply false
21
- id ' com.jfrog.artifactory' version ' 4.7.3 ' apply false
20
+ id ' com.github.sherter.google-java-format' version ' 0.8 ' apply false
21
+ id ' com.jfrog.artifactory' version ' 4.9.10 ' apply false
22
22
id ' com.jfrog.bintray' version ' 1.8.4' apply false
23
23
id ' me.champeau.gradle.jmh' version ' 0.4.8' apply false
24
24
id ' io.spring.dependency-management' version ' 1.0.7.RELEASE' apply false
@@ -28,74 +28,67 @@ plugins {
28
28
subprojects {
29
29
apply plugin : ' io.spring.dependency-management'
30
30
apply plugin : ' com.github.sherter.google-java-format'
31
-
32
- ext[' reactor-bom.version' ] = ' Dysprosium-M3 '
31
+
32
+ ext[' reactor-bom.version' ] = ' Dysprosium-RELEASE '
33
33
ext[' logback.version' ] = ' 1.2.3'
34
34
ext[' findbugs.version' ] = ' 3.0.
57A6
2'
35
- ext[' netty.version' ] = ' 4.1.37.Final'
35
+ ext[' netty-bom .version' ] = ' 4.1.37.Final'
36
36
ext[' netty-boringssl.version' ] = ' 2.0.25.Final'
37
37
ext[' hdrhistogram.version' ] = ' 2.1.10'
38
38
ext[' mockito.version' ] = ' 2.25.1'
39
39
ext[' slf4j.version' ] = ' 1.7.25'
40
40
ext[' jmh.version' ] = ' 1.21'
41
- ext[' junit.version' ] = ' 5.1.0 '
41
+ ext[' junit.version' ] = ' 5.5.2 '
42
42
ext[' hamcrest.version' ] = ' 1.3'
43
43
ext[' micrometer.version' ] = ' 1.0.6'
44
44
ext[' assertj.version' ] = ' 3.11.1'
45
45
46
+ group = " io.rsocket"
47
+
46
48
googleJavaFormat {
47
49
toolVersion = ' 1.6'
48
50
}
49
51
50
52
ext {
51
- if (project. hasProperty(' versionSuffix' )) {
52
- project. version + = project. getProperty(' versionSuffix' )
53
- }
53
+ if (project. hasProperty(' versionSuffix' )) {
54
+ project. version + = project. getProperty(' versionSuffix' )
55
+ }
54
56
}
55
57
56
58
dependencyManagement {
57
59
imports {
58
60
mavenBom " io.projectreactor:reactor-bom:${ ext['reactor-bom.version']} "
61
+ mavenBom " io.netty:netty-bom:${ ext['netty-bom.version']} "
62
+ mavenBom " org.junit:junit-bom:${ ext['junit.version']} "
59
63
}
60
64
61
65
dependencies {
62
66
dependency " ch.qos.logback:logback-classic:${ ext['logback.version']} "
63
67
dependency " com.google.code.findbugs:jsr305:${ ext['findbugs.version']} "
64
- dependency " io.netty:netty-buffer:${ ext['netty.version']} "
65
68
dependency " io.netty:netty-tcnative-boringssl-static:${ ext['netty-boringssl.version']} "
66
69
dependency " io.micrometer:micrometer-core:${ ext['micrometer.version']} "
67
70
dependency " org.assertj:assertj-core:${ ext['assertj.version']} "
68
71
dependency " org.hdrhistogram:HdrHistogram:${ ext['hdrhistogram.version']} "
69
72
dependency " org.slf4j:slf4j-api:${ ext['slf4j.version']} "
70
-
71
73
dependencySet(group : ' org.mockito' , version : ext[' mockito.version' ]) {
72
74
entry ' mockito-junit-jupiter'
73
75
entry ' mockito-core'
74
76
}
75
-
76
- dependencySet(group : ' org.junit.jupiter' , version : ext[' junit.version' ]) {
77
- entry ' junit-jupiter-api'
78
- entry ' junit-jupiter-engine'
79
- entry ' junit-jupiter-params'
80
- }
81
-
82
77
// TODO: Remove after JUnit5 migration
83
78
dependency ' junit:junit:4.12'
84
79
dependency " org.hamcrest:hamcrest-library:${ ext['hamcrest.version']} "
85
- dependencySet(group : ' org.junit.vintage' , version : ext[' junit.version' ]) {
86
- entry ' junit-vintage-engine'
87
- }
88
-
89
80
dependencySet(group : ' org.openjdk.jmh' , version : ext[' jmh.version' ]) {
90
81
entry ' jmh-core'
91
82
entry ' jmh-generator-annprocess'
92
83
}
93
84
}
85
+ generatedPomCustomization {
86
+ enabled = false
87
+ }
94
88
}
95
89
96
90
repositories {
97
91
mavenCentral()
98
- maven { url ' http://repo.spring.io/milestone' } // temporary for Reactor Dysprosium
99
92
100
93
if (version. endsWith(' BUILD-SNAPSHOT' ) || project. hasProperty(' platformVersion' )) {
101
94
maven { url ' http://repo.spring.io/libs-snapshot' }
@@ -123,7 +116,7 @@ subprojects {
123
116
124
117
systemProperty " io.netty.leakDetection.level" , " ADVANCED"
125
118
}
126
-
119
+
127
120
tasks. named(" javadoc" ). configure {
128
121
onlyIf { System . getenv(' SKIP_RELEASE' ) != " true" }
129
122
}
@@ -139,77 +132,23 @@ subprojects {
139
132
classifier ' javadoc'
140
133
from javadoc. destinationDir
141
134
}
142
- }
143
135
144
- plugins. withType(MavenPublishPlugin ) {
145
- publishing {
146
- publications {
147
- maven(MavenPublication ) {
148
- groupId ' io.rsocket'
149
-
150
- from components. java
151
-
152
- artifact sourcesJar
153
- artifact javadocJar
154
-
155
- pom. withXml {
156
- asNode(). ' :version' + {
157
- resolveStrategy = DELEGATE_FIRST
158
-
159
- name project. name
160
- description project. description
161
- url ' http://rsocket.io'
162
-
163
- licenses {
164
- license {
165
- name ' The Apache Software License, Version 2.0'
166
- url ' http://www.apache.org/license/LICENSE-2.0.txt'
167
- }
168
- }
169
-
170
- developers {
171
- developer {
172
- id ' robertroeser'
173
- name ' Robert Roeser'
174
- email ' robert@netifi.com'
175
- }
176
- developer {
177
- id ' rdegnan'
178
- name ' Ryland Degnan'
179
- email ' ryland@netifi.com'
180
- }
181
- developer {
182
- id ' yschimke'
183
- name ' Yuri Schimke'
184
- email ' yuri@schimke.ee'
185
- }
186
- developer {
187
- id ' OlegDokuka'
188
- name ' Oleh Dokuka'
189
- email ' oleh@netifi.com'
190
- }
191
- developer {
192
- id ' mostroverkhov'
193
- name ' Maksym Ostroverkhov'
194
- email ' m.ostroverkhov@gmail.com'
195
- }
196
- }
197
-
198
- scm {
199
- connection ' scm:git:https://github.com/rsocket/rsocket-java.git'
200
- developerConnection ' scm:git:https://github.com/rsocket/rsocket-java.git'
201
- url ' https://github.com/rsocket/rsocket-java'
202
- }
203
- }
136
+ plugins. withType(MavenPublishPlugin ) {
137
+ publishing {
138
+ publications {
139
+ maven(MavenPublication ) {
140
+ from components. java
141
+ artifact sourcesJar
142
+ artifact javadocJar
204
143
}
205
144
}
206
145
}
207
146
}
208
147
}
148
+
209
149
}
210
150
211
- apply from : ' artifactory.gradle'
212
- apply from : ' bintray.gradle'
151
+ apply from : " ${ rootDir} /gradle/publications.gradle"
213
152
214
153
buildScan {
215
154
termsOfServiceUrl = ' https://gradle.com/terms-of-service'
0 commit comments