Skip to content

Commit

Permalink
Fix rabbitmq latest deps test (#7262)
Browse files Browse the repository at this point in the history
Resolves #7269

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
  • Loading branch information
laurit and trask authored Nov 22, 2022
1 parent 94ba33e commit ae49d4f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ muzzle {
pass {
group.set("org.springframework.kafka")
module.set("spring-kafka")
versions.set("[2.7.0,)")
versions.set("[2.7.0,3)")
assertInverse.set(true)
}
}
Expand All @@ -27,6 +27,8 @@ dependencies {

testLibrary("org.springframework.boot:spring-boot-starter-test:2.5.3")
testLibrary("org.springframework.boot:spring-boot-starter:2.5.3")

latestDepTestLibrary("org.springframework.kafka:spring-kafka:2.+")
}

testing {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ dependencies {

testLibrary("org.springframework.boot:spring-boot-starter-test:2.5.3")
testLibrary("org.springframework.boot:spring-boot-starter:2.5.3")

latestDepTestLibrary("org.springframework.kafka:spring-kafka:2.+")
}

configurations.testRuntimeClasspath {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ dependencies {
testLibrary("org.springframework.amqp:spring-rabbit:2.1.7.RELEASE")
testLibrary("org.springframework.boot:spring-boot-starter-test:1.5.22.RELEASE")
testLibrary("org.springframework.boot:spring-boot-starter:1.5.22.RELEASE")

latestDepTestLibrary("org.springframework.amqp:spring-rabbit:2.+")
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public void configure(IgnoredTypesBuilder builder) {
builder
.ignoreClass("org.springframework.amqp.")
.allowClass("org.springframework.amqp.rabbit.connection.")
.allowClass("org.springframework.amqp.rabbit.core.RabbitTemplate$$Lambda$")
.allowClass("org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer");

builder
Expand Down

0 comments on commit ae49d4f

Please sign in to comment.