Skip to content

Commit ece6030

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 a56469b commit ece6030

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
@@ -183,7 +183,9 @@ project ('spring-kafka') {
183183
compile "org.springframework:spring-context:$springVersion"
184184
compile "org.springframework:spring-messaging:$springVersion"
185185
compile "org.springframework:spring-tx:$springVersion"
186-
compile "org.springframework.retry:spring-retry:$springRetryVersion"
186+
compile ("org.springframework.retry:spring-retry:$springRetryVersion") {
187+
exclude group: 'org.springframework', module: 'spring-core'
188+
}
187189
compile ("org.apache.kafka:kafka-clients:$kafkaVersion") {
188190
exclude group: 'org.slf4j', module: 'slf4j-api'
189191
}

0 commit comments

Comments
 (0)