Skip to content

Commit 6d456ea

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** # Conflicts: # build.gradle
1 parent 02d4a45 commit 6d456ea

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
@@ -164,7 +164,9 @@ project ('spring-kafka') {
164164
compile "org.springframework:spring-context:$springVersion"
165165
compile "org.springframework:spring-messaging:$springVersion"
166166
compile "org.springframework:spring-tx:$springVersion"
167-
compile "org.springframework.retry:spring-retry:$springRetryVersion"
167+
compile ("org.springframework.retry:spring-retry:$springRetryVersion") {
168+
exclude group: 'org.springframework', module: 'spring-core'
169+
}
168170
compile ("org.apache.kafka:kafka-clients:$kafkaVersion") {
169171
exclude group: 'org.slf4j', module: 'slf4j-api'
170172
}

0 commit comments

Comments
 (0)