Skip to content

Commit

Permalink
INT-4420: Fix hamcrest-all dependency
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
drewtul authored and artembilan committed Feb 28, 2018
1 parent 792b8fe commit b55a5bd
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,10 @@ subprojects { subproject ->
project('spring-integration-test-support') {
description = 'Spring Integration Test Support - **No SI Dependencies Allowed**'
dependencies {
compile ("junit:junit:$junitVersion") {
exclude group: 'org.hamcrest', module: 'hamcrest-core'
}
compile "org.hamcrest:hamcrest-all:$hamcrestVersion"
compile ("org.mockito:mockito-core:$mockitoVersion") {
exclude group: 'org.hamcrest', module: 'hamcrest-core'
}
compile "org.hamcrest:hamcrest-core:$hamcrestVersion"
compile "org.hamcrest:hamcrest-library:$hamcrestVersion"
compile "junit:junit:$junitVersion"
compile "org.mockito:mockito-core:$mockitoVersion"
compile "org.assertj:assertj-core:$assertjVersion"
compile "org.springframework:spring-context:$springVersion"
compile "org.springframework:spring-messaging:$springVersion"
Expand Down

0 comments on commit b55a5bd

Please sign in to comment.