60
60
rabbitmqStreamVersion = ' 0.4.0'
61
61
rabbitmqVersion = project. hasProperty(' rabbitmqVersion' ) ? project. rabbitmqVersion : ' 5.13.1'
62
62
rabbitmqHttpClientVersion = ' 3.12.1'
63
- reactorVersion = ' 2020.0.20 '
63
+ reactorVersion = ' 2020.0.24 '
64
64
snappyVersion = ' 1.1.8.4'
65
65
springDataCommonsVersion = ' 2.6.7'
66
66
springVersion = project. hasProperty(' springVersion' ) ? project. springVersion : ' 5.3.23'
@@ -366,7 +366,10 @@ project('spring-rabbit') {
366
366
api ' org.springframework:spring-context'
367
367
api ' org.springframework:spring-messaging'
368
368
api ' org.springframework:spring-tx'
369
+ optionalApi ' org.springframework:spring-webflux'
370
+ optionalApi " org.apache.httpcomponents:httpclient:$commonsHttpClientVersion "
369
371
optionalApi ' io.projectreactor:reactor-core'
372
+ optionalApi ' io.projectreactor.netty:reactor-netty-http'
370
373
optionalApi " ch.qos.logback:logback-classic:$logbackVersion "
371
374
optionalApi ' org.apache.logging.log4j:log4j-core'
372
375
optionalApi " io.micrometer:micrometer-core:$micrometerVersion "
@@ -380,10 +383,10 @@ project('spring-rabbit') {
380
383
testApi project(' :spring-rabbit-junit' )
381
384
testImplementation(" com.willowtreeapps.assertk:assertk-jvm:$assertkVersion " )
382
385
testImplementation " org.hibernate.validator:hibernate-validator:$hibernateValidationVersion "
383
- testRuntimeOnly ' org.springframework:spring-web '
386
+ testRuntimeOnly ' org.springframework:spring-webflux '
384
387
testRuntimeOnly " org.apache.httpcomponents:httpclient:$commonsHttpClientVersion "
385
388
testRuntimeOnly ' com.fasterxml.jackson.core:jackson-core'
386
- testRuntimeOnly ' com.fasterxml.jackson.core:jackson-databind'
389
+ testImplementation ' com.fasterxml.jackson.core:jackson-databind'
387
390
testRuntimeOnly ' com.fasterxml.jackson.dataformat:jackson-dataformat-xml'
388
391
testRuntimeOnly ' com.fasterxml.jackson.module:jackson-module-kotlin'
389
392
testRuntimeOnly (" junit:junit:$junit4Version " ) {
@@ -407,7 +410,6 @@ project('spring-rabbit-stream') {
407
410
408
411
api project(' :spring-rabbit' )
409
412
api " com.rabbitmq:stream-client:$rabbitmqStreamVersion "
410
- optionalApi " com.rabbitmq:http-client:$rabbitmqHttpClientVersion "
411
413
412
414
testApi project(' :spring-rabbit-junit' )
413
415
testRuntimeOnly ' com.fasterxml.jackson.core:jackson-core'
@@ -419,8 +421,11 @@ project('spring-rabbit-stream') {
419
421
testRuntimeOnly " org.xerial.snappy:snappy-java:$snappyVersion "
420
422
testRuntimeOnly " org.lz4:lz4-java:$lz4Version "
421
423
testRuntimeOnly " com.github.luben:zstd-jni:$zstdJniVersion "
424
+ testRuntimeOnly ' io.projectreactor.netty:reactor-netty-http'
422
425
testImplementation " org.testcontainers:rabbitmq:1.15.3"
423
426
testImplementation " org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion "
427
+ testImplementation ' org.springframework:spring-webflux'
428
+ testImplementation ' io.projectreactor.netty:reactor-netty-http'
424
429
}
425
430
426
431
}
@@ -436,12 +441,11 @@ project('spring-rabbit-junit') {
436
441
exclude group : ' org.hamcrest' , module : ' hamcrest-core'
437
442
}
438
443
api " com.rabbitmq:amqp-client:$rabbitmqVersion "
439
- api (" com.rabbitmq:http-client:$rabbitmqHttpClientVersion " ) {
440
- exclude group : ' org.springframework' , module : ' spring-web'
441
- }
442
444
api ' org.springframework:spring-web'
443
445
api ' org.junit.jupiter:junit-jupiter-api'
444
446
api " org.assertj:assertj-core:$assertjVersion "
447
+ api " org.apache.httpcomponents:httpclient:$commonsHttpClientVersion "
448
+ api ' com.fasterxml.jackson.core:jackson-databind'
445
449
optionalApi " ch.qos.logback:logback-classic:$logbackVersion "
446
450
optionalApi ' org.apache.logging.log4j:log4j-core'
447
451
compileOnly ' org.apiguardian:apiguardian-api:1.0.0'
0 commit comments