1
1
buildscript {
2
- ext. kotlinVersion = ' 1.9.25 '
2
+ ext. kotlinVersion = ' 2.1.10 '
3
3
ext. isCI = System . getenv(' GITHUB_ACTION' )
4
4
repositories {
5
5
mavenCentral()
6
6
gradlePluginPortal()
7
- maven { url ' https://repo.spring.io/plugins-release-local' }
8
- if (version. endsWith(' SNAPSHOT' )) {
9
- maven { url ' https://repo.spring.io/snapshot' }
10
- }
11
7
}
12
8
dependencies {
13
9
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
@@ -23,8 +19,8 @@ plugins {
23
19
id ' io.spring.dependency-management' version ' 1.1.7' apply false
24
20
id ' org.antora' version ' 1.0.0'
25
21
id ' io.spring.antora.generate-antora-yml' version ' 0.0.1'
26
- id ' com.github.spotbugs' version ' 6.0.28 '
27
- id ' io.freefair.aggregate-javadoc' version ' 8.10.2 '
22
+ id ' com.github.spotbugs' version ' 6.1.2 '
23
+ id ' io.freefair.aggregate-javadoc' version ' 8.11 '
28
24
}
29
25
30
26
description = ' Spring AMQP'
@@ -45,30 +41,30 @@ ext {
45
41
}
46
42
modifiedFiles. finalizeValueOnRead()
47
43
48
- assertjVersion = ' 3.26 .3'
44
+ assertjVersion = ' 3.27 .3'
49
45
assertkVersion = ' 0.28.1'
50
46
awaitilityVersion = ' 4.2.2'
51
47
commonsHttpClientVersion = ' 5.4.1'
52
- commonsPoolVersion = ' 2.12.0 '
48
+ commonsPoolVersion = ' 2.12.1 '
53
49
hamcrestVersion = ' 3.0'
54
50
hibernateValidationVersion = ' 8.0.2.Final'
55
51
jacksonBomVersion = ' 2.18.2'
56
52
jaywayJsonPathVersion = ' 2.9.0'
57
53
junit4Version = ' 4.13.2'
58
54
junitJupiterVersion = ' 5.11.4'
59
- kotlinCoroutinesVersion = ' 1.8 .1'
55
+ kotlinCoroutinesVersion = ' 1.10 .1'
60
56
log4jVersion = ' 2.24.3'
61
57
logbackVersion = ' 1.5.16'
62
58
micrometerDocsVersion = ' 1.0.4'
63
- micrometerVersion = ' 1.14.3 '
64
- micrometerTracingVersion = ' 1.4.2 '
65
- mockitoVersion = ' 5.14 .2'
66
- rabbitmqStreamVersion = ' 0.18 .0'
67
- rabbitmqVersion = ' 5.22 .0'
59
+ micrometerVersion = ' 1.15.0-SNAPSHOT '
60
+ micrometerTracingVersion = ' 1.5.0-SNAPSHOT '
61
+ mockitoVersion = ' 5.15 .2'
62
+ rabbitmqStreamVersion = ' 0.22 .0'
63
+ rabbitmqVersion = ' 5.24 .0'
68
64
reactorVersion = ' 2024.0.2'
69
- springDataVersion = ' 2024 .1.2 '
65
+ springDataVersion = ' 2025 .1.0-SNAPSHOT '
70
66
springRetryVersion = ' 2.0.11'
71
- springVersion = ' 6.2.2 '
67
+ springVersion = ' 7.0.0-SNAPSHOT '
72
68
testcontainersVersion = ' 1.20.4'
73
69
74
70
javaProjects = subprojects - project(' :spring-amqp-bom' )
@@ -150,7 +146,7 @@ ext {
150
146
expandPlaceholders = ' **/quick-tour.xml'
151
147
javadocLinks = [
152
148
' https://docs.oracle.com/en/java/javase/17/docs/api/' ,
153
- ' https://jakarta.ee/specifications/platform/9 /apidocs/' ,
149
+ ' https://jakarta.ee/specifications/platform/11 /apidocs/' ,
154
150
' https://docs.spring.io/spring-framework/docs/current/javadoc-api/'
155
151
] as String []
156
152
}
@@ -213,18 +209,13 @@ configure(javaProjects) { subproject ->
213
209
exclude group : ' org.hamcrest'
214
210
}
215
211
216
- // To avoid compiler warnings about @API annotations in JUnit code
217
- testCompileOnly ' org.apiguardian:apiguardian-api:1.0.0'
218
-
219
212
testImplementation ' org.jetbrains.kotlin:kotlin-reflect'
220
213
testImplementation ' org.jetbrains.kotlin:kotlin-stdlib-jdk8'
221
-
222
-
223
214
}
224
215
225
216
// enable all compiler warnings; individual projects may customize further
226
217
ext. xLintArg = ' -Xlint:all,-options,-processing,-deprecation'
227
- [compileJava, compileTestJava]* . options* . compilerArgs = [xLintArg]
218
+ [compileJava, compileTestJava]* . options* . compilerArgs = [xLintArg, ' -parameters ' ]
228
219
229
220
publishing {
230
221
publications {
@@ -310,8 +301,8 @@ configure(javaProjects) { subproject ->
310
301
}
311
302
312
303
checkstyle {
313
- configDirectory. set(rootProject. file(" src/checkstyle" ))
314
- toolVersion = ' 10.18.2 '
304
+ configDirectory. set(rootProject. file(' src/checkstyle' ))
305
+ toolVersion = ' 10.21.1 '
315
306
}
316
307
317
308
jar {
@@ -339,7 +330,6 @@ configure(javaProjects) { subproject ->
339
330
}
340
331
341
332
check. dependsOn javadoc
342
-
343
333
}
344
334
345
335
project(' spring-amqp' ) {
@@ -361,14 +351,9 @@ project('spring-amqp') {
361
351
optionalApi ' com.fasterxml.jackson.module:jackson-module-parameter-names'
362
352
optionalApi ' com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
363
353
optionalApi ' com.fasterxml.jackson.datatype:jackson-datatype-joda'
364
- optionalApi(' com.fasterxml.jackson.module:jackson-module-kotlin' ) {
365
- exclude group : ' org.jetbrains.kotlin'
366
- }
354
+ optionalApi ' com.fasterxml.jackson.module:jackson-module-kotlin'
367
355
// Spring Data projection message binding support
368
- optionalApi(' org.springframework.data:spring-data-commons' ) {
369
- exclude group : ' org.springframework'
370
- exclude group : ' io.micrometer'
371
- }
356
+ optionalApi ' org.springframework.data:spring-data-commons'
372
357
optionalApi " com.jayway.jsonpath:json-path:$jaywayJsonPathVersion "
373
358
374
359
testImplementation " org.assertj:assertj-core:$assertjVersion "
@@ -409,6 +394,7 @@ project('spring-rabbit') {
409
394
api ' org.springframework:spring-messaging'
410
395
api ' org.springframework:spring-tx'
411
396
api ' io.micrometer:micrometer-observation'
397
+
412
398
optionalApi ' org.springframework:spring-aop'
413
399
optionalApi ' org.springframework:spring-webflux'
414
400
optionalApi " org.apache.httpcomponents.client5:httpclient5:$commonsHttpClientVersion "
@@ -419,23 +405,23 @@ project('spring-rabbit') {
419
405
optionalApi ' io.micrometer:micrometer-core'
420
406
optionalApi ' io.micrometer:micrometer-tracing'
421
407
// Spring Data projection message binding support
422
- optionalApi(" org.springframework.data:spring-data-commons" ) {
423
- exclude group : ' org.springframework'
424
- }
408
+ optionalApi ' org.springframework.data:spring-data-commons'
425
409
optionalApi " com.jayway.jsonpath:json-path:$jaywayJsonPathVersion "
426
410
optionalApi " org.apache.commons:commons-pool2:$commonsPoolVersion "
427
411
optionalApi " org.jetbrains.kotlinx:kotlinx-coroutines-reactor:$kotlinCoroutinesVersion "
428
412
429
413
testApi project(' :spring-rabbit-junit' )
414
+
430
415
testImplementation(" com.willowtreeapps.assertk:assertk-jvm:$assertkVersion " )
431
416
testImplementation " org.hibernate.validator:hibernate-validator:$hibernateValidationVersion "
432
417
testImplementation ' io.micrometer:micrometer-observation-test'
433
418
testImplementation ' io.micrometer:micrometer-tracing-bridge-brave'
434
419
testImplementation ' io.micrometer:micrometer-tracing-test'
435
420
testImplementation ' io.micrometer:micrometer-tracing-integration-test'
436
- testImplementation " org.testcontainers:rabbitmq"
421
+ testImplementation ' org.testcontainers:rabbitmq'
437
422
testImplementation ' org.testcontainers:junit-jupiter'
438
423
testImplementation " org.apache.httpcomponents.client5:httpclient5:$commonsHttpClientVersion "
424
+
439
425
testRuntimeOnly ' com.fasterxml.jackson.core:jackson-core'
440
426
testRuntimeOnly ' com.fasterxml.jackson.core:jackson-databind'
441
427
testRuntimeOnly ' com.fasterxml.jackson.dataformat:jackson-dataformat-xml'
@@ -461,13 +447,14 @@ project('spring-rabbit-stream') {
461
447
optionalApi ' io.micrometer:micrometer-core'
462
448
463
449
testApi project(' :spring-rabbit-junit' )
450
+
464
451
testRuntimeOnly ' com.fasterxml.jackson.core:jackson-core'
465
452
testRuntimeOnly ' com.fasterxml.jackson.core:jackson-databind'
466
453
testRuntimeOnly ' com.fasterxml.jackson.dataformat:jackson-dataformat-xml'
467
454
testRuntimeOnly ' com.fasterxml.jackson.module:jackson-module-kotlin'
468
455
469
- testImplementation " org.testcontainers:rabbitmq"
470
- testImplementation " org.testcontainers:junit-jupiter"
456
+ testImplementation ' org.testcontainers:rabbitmq'
457
+ testImplementation ' org.testcontainers:junit-jupiter'
471
458
testImplementation ' org.apache.logging.log4j:log4j-slf4j-impl'
472
459
testImplementation ' org.springframework:spring-webflux'
473
460
testImplementation ' io.micrometer:micrometer-observation-test'
@@ -487,11 +474,12 @@ project('spring-rabbit-junit') {
487
474
api ' org.springframework:spring-web'
488
475
api ' org.junit.jupiter:junit-jupiter-api'
489
476
api " org.assertj:assertj-core:$assertjVersion "
477
+
490
478
optionalApi(" junit:junit:$junit4Version " ) {
491
479
exclude group : ' org.hamcrest' , module : ' hamcrest-core'
492
480
}
493
- optionalApi " org.testcontainers:rabbitmq"
494
- optionalApi " org.testcontainers:junit-jupiter"
481
+ optionalApi ' org.testcontainers:rabbitmq'
482
+ optionalApi ' org.testcontainers:junit-jupiter'
495
483
optionalApi " ch.qos.logback:logback-classic:$logbackVersion "
496
484
optionalApi ' org.apache.logging.log4j:log4j-core'
497
485
compileOnly ' org.apiguardian:apiguardian-api:1.0.0'
@@ -507,6 +495,7 @@ project('spring-rabbit-test') {
507
495
api " org.hamcrest:hamcrest-library:$hamcrestVersion "
508
496
api " org.hamcrest:hamcrest-core:$hamcrestVersion "
509
497
api " org.mockito:mockito-core:$mockitoVersion "
498
+
510
499
testImplementation project(' :spring-rabbit' ). sourceSets. test. output
511
500
}
512
501
}
0 commit comments