@@ -102,103 +102,168 @@ subprojects {
102
102
}
103
103
}
104
104
105
- plugins. withType(JavaPlugin ) {
106
- compileJava {
107
- sourceCompatibility = 1.8
105
+ if (project. name != ' rsocket-bom' ) {
108
106
109
- // TODO: Cleanup warnings so no need to exclude
110
- options . compilerArgs << ' -Xlint:all,-overloads,-rawtypes,-unchecked '
111
- }
107
+ plugins . withType( JavaPlugin ) {
108
+ compileJava {
109
+ sourceCompatibility = 1.8
112
110
113
- javadoc {
114
- options. with {
115
- links ' https://docs.oracle.com/javase/8/docs/api/'
116
- links ' https://projectreactor.io/docs/core/release/api/'
117
- links ' https://netty.io/4.1/api/'
111
+ // TODO: Cleanup warnings so no need to exclude
112
+ options. compilerArgs << ' -Xlint:all,-overloads,-rawtypes,-unchecked'
118
113
}
119
- }
120
114
121
- test {
122
- useJUnitPlatform()
115
+ javadoc {
116
+ options. with {
117
+ links ' https://docs.oracle.com/javase/8/docs/api/'
118
+ links ' https://projectreactor.io/docs/core/release/api/'
119
+ links ' https://netty.io/4.1/api/'
120
+ }
121
+ }
123
122
124
- systemProperty " io.netty.leakDetection.level" , " ADVANCED"
125
- }
126
-
127
- tasks. named(" javadoc" ). configure {
128
- onlyIf { System . getenv(' SKIP_RELEASE' ) != " true" }
129
- }
130
- }
123
+ test {
124
+ useJUnitPlatform()
131
125
132
- plugins. withType(JavaLibraryPlugin ) {
133
- task sourcesJar(type : Jar ) {
134
- classifier ' sources'
135
- from sourceSets. main. allJava
126
+ systemProperty " io.netty.leakDetection.level" , " ADVANCED"
127
+ }
128
+
129
+ tasks. named(" javadoc" ). configure {
130
+ onlyIf { System . getenv(' SKIP_RELEASE' ) != " true" }
131
+ }
136
132
}
137
133
138
- task javadocJar(type : Jar , dependsOn : javadoc) {
139
- classifier ' javadoc'
140
- from javadoc. destinationDir
134
+ plugins. withType(JavaLibraryPlugin ) {
135
+ task sourcesJar(type : Jar ) {
136
+ classifier ' sources'
137
+ from sourceSets. main. allJava
138
+ }
139
+
140
+ task javadocJar(type : Jar , dependsOn : javadoc) {
141
+ classifier ' javadoc'
142
+ from javadoc. destinationDir
143
+ }
141
144
}
142
- }
143
145
144
- plugins. withType(MavenPublishPlugin ) {
145
- publishing {
146
- publications {
147
- maven(MavenPublication ) {
148
- groupId ' io.rsocket'
146
+ plugins. withType(MavenPublishPlugin ) {
147
+ publishing {
148
+ publications {
149
+ maven(MavenPublication ) {
150
+ groupId ' io.rsocket'
149
151
150
- from components. java
152
+ from components. java
151
153
152
- artifact sourcesJar
153
- artifact javadocJar
154
+ artifact sourcesJar
155
+ artifact javadocJar
154
156
155
- pom. withXml {
156
- asNode(). ' :version' + {
157
- resolveStrategy = DELEGATE_FIRST
157
+ pom. withXml {
158
+ asNode(). ' :version' + {
159
+ resolveStrategy = DELEGATE_FIRST
158
160
159
- name project. name
160
- description project. description
161
- url ' http://rsocket.io'
161
+ name project. name
162
+ description project. description
163
+ url ' http://rsocket.io'
162
164
163
- licenses {
164
- license {
165
- name ' The Apache Software License, Version 2.0'
166
- url ' http://www.apache.org/license/LICENSE-2.0.txt'
165
+ licenses {
166
+ license {
167
+ name ' The Apache Software License, Version 2.0'
168
+ url ' http://www.apache.org/license/LICENSE-2.0.txt'
169
+ }
167
170
}
168
- }
169
171
170
- developers {
171
- developer {
172
- id ' robertroeser'
173
- name ' Robert Roeser'
174
-
175
- }
176
- developer {
177
- id ' rdegnan'
178
- name ' Ryland Degnan'
179
-
172
+ developers {
173
+ developer {
174
+ id ' robertroeser'
175
+ name ' Robert Roeser'
176
+
177
+ }
178
+ developer {
179
+ id ' rdegnan'
180
+ name ' Ryland Degnan'
181
+
182
+ }
183
+ developer {
184
+ id ' yschimke'
185
+ name ' Yuri Schimke'
186
+
187
+ }
188
+ developer {
189
+ id ' OlegDokuka'
190
+ name ' Oleh Dokuka'
191
+
192
+ }
193
+ developer {
194
+ id ' mostroverkhov'
195
+ name ' Maksym Ostroverkhov'
196
+
197
+ }
180
198
}
181
- developer {
182
- id ' yschimke'
183
- name ' Yuri Schimke'
184
-
199
+
200
+ scm {
201
+ connection ' scm:git:https://github.com/rsocket/rsocket-java.git'
202
+ developerConnection ' scm:git:https://github.com/rsocket/rsocket-java.git'
203
+ url ' https://github.com/rsocket/rsocket-java'
185
204
}
186
- developer {
187
- id ' OlegDokuka'
188
- name ' Oleh Dokuka'
189
-
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+
212
+ } else {
213
+ plugins. withType(MavenPublishPlugin ) {
214
+ publishing {
215
+ publications {
216
+ maven(MavenPublication ) {
217
+ groupId ' io.rsocket'
218
+
219
+ pom. withXml {
220
+ asNode(). ' :version' + {
221
+ resolveStrategy = DELEGATE_FIRST
222
+
223
+ name project. name
224
+ description project. description
225
+ url ' http://rsocket.io'
226
+
227
+ licenses {
228
+ license {
229
+ name ' The Apache Software License, Version 2.0'
230
+ url ' http://www.apache.org/license/LICENSE-2.0.txt'
231
+ }
190
232
}
191
- developer {
192
- id ' mostroverkhov'
193
- name ' Maksym Ostroverkhov'
194
-
233
+
234
+ developers {
235
+ developer {
236
+ id ' robertroeser'
237
+ name ' Robert Roeser'
238
+
239
+ }
240
+ developer {
241
+ id ' rdegnan'
242
+ name ' Ryland Degnan'
243
+
244
+ }
245
+ developer {
246
+ id ' yschimke'
247
+ name ' Yuri Schimke'
248
+
249
+ }
250
+ developer {
251
+ id ' OlegDokuka'
252
+ name ' Oleh Dokuka'
253
+
254
+ }
255
+ developer {
256
+ id ' mostroverkhov'
257
+ name ' Maksym Ostroverkhov'
258
+
259
+ }
195
260
}
196
- }
197
261
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'
262
+ scm {
263
+ connection ' scm:git:https://github.com/rsocket/rsocket-java.git'
264
+ developerConnection ' scm:git:https://github.com/rsocket/rsocket-java.git'
265
+ url ' https://github.com/rsocket/rsocket-java'
266
+ }
202
267
}
203
268
}
204
269
}
0 commit comments