Skip to content

Commit d215f4d

Browse files
fabienmifsudartembilan
authored andcommitted
GH-719: Exclude Spring 4.X dependency
Fixes #719 Exclusion of Spring 4.X transitive dependencies from Spring-Retry **Cherry-pick to 2.1.x and 2.0.x**
1 parent 9ac47f6 commit d215f4d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,9 @@ project ('spring-kafka') {
189189
compile "org.springframework:spring-context:$springVersion"
190190
compile "org.springframework:spring-messaging:$springVersion"
191191
compile "org.springframework:spring-tx:$springVersion"
192-
compile "org.springframework.retry:spring-retry:$springRetryVersion"
192+
compile ("org.springframework.retry:spring-retry:$springRetryVersion") {
193+
exclude group: 'org.springframework', module: 'spring-core'
194+
}
193195
compile "org.apache.kafka:kafka-clients:$kafkaVersion"
194196
compile ("org.apache.kafka:kafka-streams:$kafkaVersion", optional)
195197

0 commit comments

Comments
 (0)