Skip to content

Commit

Permalink
Bump to the latest BUILD-SNAPSHOTs
Browse files Browse the repository at this point in the history
After introducing a `BeanDefinition.getResolvableType()` we have
several failed builds because of `NoSuchMethodError`.
Looks like interface and its implementation classes are loaded from
different versions.

* Exclude `org.springframework` from `spring-data-commons` to avoid
CLASSPATH conflicts

Related to
https://build.spring.io/browse/SK-SON-1242/
spring-projects/spring-framework#23178
  • Loading branch information
artembilan committed Jul 22, 2019
1 parent 3950995 commit b7a6145
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ subprojects { subproject ->
scalaVersion = '2.12'
springRetryVersion = '1.2.4.RELEASE'
springVersion = '5.2.0.BUILD-SNAPSHOT'
springDataCommonsVersion = '2.2.0.RC1'
reactorVersion = '3.3.0.M2'
springDataCommonsVersion = '2.2.0.BUILD-SNAPSHOT'
reactorVersion = '3.3.0.BUILD-SNAPSHOT'
reactorKafkaVersion = '1.1.1.RELEASE'

idPrefix = 'kafka'
Expand Down Expand Up @@ -241,7 +241,10 @@ project ('spring-kafka') {
compile ("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion", optional)

// Spring Data projection message binding support
compile ("org.springframework.data:spring-data-commons:$springDataCommonsVersion", optional)
compile ("org.springframework.data:spring-data-commons:$springDataCommonsVersion") {
optional(it)
exclude group: 'org.springframework'
}
compile ("com.jayway.jsonpath:json-path:$jaywayJsonPathVersion", optional)

//Reactive
Expand Down

0 comments on commit b7a6145

Please sign in to comment.