Skip to content

Commit b55a5bd

Browse files
drewtulartembilan
authored andcommitted
INT-4420: Fix hamcrest-all dependency
JIRA: https://jira.spring.io/browse/INT-4420 Use `hamcrest-core` and `hamcrest-library` in place of `hamcrest-all` to match behavior of other spring projects and avoid multiple JARs containing the same classes.
1 parent 792b8fe commit b55a5bd

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

build.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,10 @@ subprojects { subproject ->
267267
project('spring-integration-test-support') {
268268
description = 'Spring Integration Test Support - **No SI Dependencies Allowed**'
269269
dependencies {
270-
compile ("junit:junit:$junitVersion") {
271-
exclude group: 'org.hamcrest', module: 'hamcrest-core'
272-
}
273-
compile "org.hamcrest:hamcrest-all:$hamcrestVersion"
274-
compile ("org.mockito:mockito-core:$mockitoVersion") {
275-
exclude group: 'org.hamcrest', module: 'hamcrest-core'
276-
}
270+
compile "org.hamcrest:hamcrest-core:$hamcrestVersion"
271+
compile "org.hamcrest:hamcrest-library:$hamcrestVersion"
272+
compile "junit:junit:$junitVersion"
273+
compile "org.mockito:mockito-core:$mockitoVersion"
277274
compile "org.assertj:assertj-core:$assertjVersion"
278275
compile "org.springframework:spring-context:$springVersion"
279276
compile "org.springframework:spring-messaging:$springVersion"

0 commit comments

Comments
 (0)