Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
* Exclude transitive `org.springframework` group non-core Spring
projects to avoid CLASSPATH conflicts
  • Loading branch information
artembilan authored and garyrussell committed Jul 22, 2019
1 parent d9bad5b commit f6a7fe6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 21 deletions.
38 changes: 20 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
buildscript {
ext.kotlinVersion = '1.3.31'
ext.kotlinVersion = '1.3.40'
repositories {
maven { url 'https://repo.spring.io/plugins-release' }
}
dependencies {
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.18'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion"
classpath 'io.spring.nohttp:nohttp-gradle:0.0.2.RELEASE'
}
}

plugins {
id "org.sonarqube" version '2.7.1'
id 'org.asciidoctor.convert' version '1.6.1'
id 'org.ajoberstar.grgit' version '3.1.1'
id "io.spring.nohttp" version "0.0.3.RELEASE"
}

description = 'Spring AMQP'

apply plugin: 'base'
apply plugin: 'project-report'
apply plugin: 'idea'
apply plugin: 'io.spring.nohttp'

ext {
isTravisBuild = System.getenv().get("TRAVIS") == 'true'
Expand Down Expand Up @@ -81,25 +80,23 @@ subprojects { subproject ->

ext {
assertjVersion = '3.12.2'
assertkVersion = '0.17'
commonsHttpClientVersion = '4.5.8'
assertkVersion = '0.19'
commonsHttpClientVersion = '4.5.9'
googleJsr305Version = '3.0.2'
hamcrestVersion = '1.3'
jackson2Version = '2.9.9'
jaywayJsonPathVersion = '2.4.0'
junit4Version = '4.12'
junitJupiterVersion = '5.5.0'
junitPlatformVersion = '1.5.0'
log4jVersion = '2.11.2'
junitJupiterVersion = '5.5.1'
junitPlatformVersion = '1.5.1'
log4jVersion = '2.12.0'
logbackVersion = '1.2.3'
mockitoVersion = '2.28.2'
rabbitmqVersion = project.hasProperty('rabbitmqVersion') ? project.rabbitmqVersion : '5.7.1'
mockitoVersion = '3.0.0'
rabbitmqVersion = project.hasProperty('rabbitmqVersion') ? project.rabbitmqVersion : '5.7.2'
rabbitmqHttpClientVersion = '3.2.0.RELEASE'
reactorVersion = '3.3.0.M2'
springDataCommonsVersion = '2.2.0.RC1'

springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.2.0.M3'

reactorVersion = '3.3.0.BUILD-SNAPSHOT'
springDataCommonsVersion = '2.2.0.BUILD-SNAPSHOT'
springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.2.0.BUILD-SNAPSHOT'
springRetryVersion = '1.2.4.RELEASE'
}

Expand All @@ -110,7 +107,7 @@ subprojects { subproject ->
}

jacoco {
toolVersion = '0.8.3'
toolVersion = '0.8.4'
}

// dependencies that are common across all java projects
Expand Down Expand Up @@ -287,14 +284,19 @@ project('spring-amqp') {
compile ("org.springframework:spring-messaging:$springVersion", optional)
compile ("org.springframework:spring-oxm:$springVersion", optional)
compile ("org.springframework:spring-context:$springVersion", optional)
compile "org.springframework.retry:spring-retry:$springRetryVersion"
compile ("org.springframework.retry:spring-retry:$springRetryVersion") {
exclude group: 'org.springframework'
}

compile ("com.fasterxml.jackson.core:jackson-core:$jackson2Version", optional)
compile ("com.fasterxml.jackson.core:jackson-databind:$jackson2Version", optional)
compile ("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:$jackson2Version", 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)

testCompile "org.assertj:assertj-core:$assertjVersion"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
Expand Down

0 comments on commit f6a7fe6

Please sign in to comment.