Skip to content

Commit 1a2907e

Browse files
committed
Upgrade dependencies; fix deprecations
1 parent ab06c21 commit 1a2907e

File tree

2 files changed

+35
-35
lines changed

2 files changed

+35
-35
lines changed

build.gradle

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ buildscript {
66
dependencies {
77
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
88
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion"
9-
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-beta.2'
9+
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-beta.6'
1010
}
1111
}
1212

1313
plugins {
14-
id 'org.sonarqube' version '2.7.1'
14+
id 'org.sonarqube' version '2.8'
1515
id 'org.asciidoctor.convert' version '1.6.1'
1616
id 'org.ajoberstar.grgit' version '3.1.1'
1717
id 'io.spring.nohttp' version '0.0.3.RELEASE' apply false
@@ -59,10 +59,10 @@ ext {
5959
googleJsr305Version = '3.0.2'
6060
groovyVersion = '2.5.8'
6161
hamcrestVersion = '2.1'
62-
hazelcastVersion = '3.12.2'
63-
hibernateVersion = '5.4.5.Final'
62+
hazelcastVersion = '3.12.3'
63+
hibernateVersion = '5.4.7.Final'
6464
hsqldbVersion = '2.5.0'
65-
h2Version = '1.4.199'
65+
h2Version = '1.4.200'
6666
jacksonVersion = '2.10.0'
6767
javaxActivationVersion = '1.2.0'
6868
javaxMailVersion = '1.6.2'
@@ -79,23 +79,23 @@ ext {
7979
lettuceVersion = '5.2.0.RELEASE'
8080
log4jVersion = '2.12.1'
8181
micrometerVersion = '1.3.0'
82-
mockitoVersion = '3.0.0'
83-
mysqlVersion = '8.0.17'
82+
mockitoVersion = '3.1.0'
83+
mysqlVersion = '8.0.18'
8484
pahoMqttClientVersion = '1.2.0'
8585
postgresVersion = '42.2.8'
86-
reactorVersion = 'Dysprosium-RELEASE'
86+
reactorVersion = 'Dysprosium-BUILD-SNAPSHOT'
8787
resilience4jVersion = '1.1.0'
88-
romeToolsVersion = '1.12.1'
88+
romeToolsVersion = '1.12.2'
8989
rsocketVersion = '1.0.0-RC5'
9090
servletApiVersion = '4.0.1'
9191
smackVersion = '4.3.4'
92-
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '2.2.0.RELEASE'
93-
springDataVersion = 'Moore-RELEASE'
92+
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '2.2.1.BUILD-SNAPSHOT'
93+
springDataVersion = 'Moore-BUILD-SNAPSHOT'
9494
springSecurityVersion = '5.2.0.RELEASE'
9595
springRetryVersion = '1.2.4.RELEASE'
96-
springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.2.0.RELEASE'
97-
springWsVersion = '3.0.7.RELEASE'
98-
tomcatVersion = "9.0.26"
96+
springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.2.1.BUILD-SNAPSHOT'
97+
springWsVersion = '3.0.8.BUILD-SNAPSHOT'
98+
tomcatVersion = "9.0.27"
9999
xstreamVersion = '1.4.11.1'
100100
}
101101

@@ -106,8 +106,8 @@ allprojects {
106106
maven { url 'https://repo.spring.io/libs-milestone' }
107107
if (version.endsWith('BUILD-SNAPSHOT')) {
108108
maven { url 'https://repo.spring.io/libs-snapshot' }
109+
maven { url "https://oss.jfrog.org/artifactory/libs-snapshot" } // RSocket
109110
}
110-
maven { url "https://oss.jfrog.org/artifactory/libs-snapshot" } // RSocket
111111
// maven { url 'https://repo.spring.io/libs-staging-local' }
112112
}
113113

@@ -320,7 +320,7 @@ subprojects { subproject ->
320320
}
321321

322322
task sourcesJar(type: Jar) {
323-
classifier = 'sources'
323+
archiveClassifier = 'sources'
324324
from sourceSets.main.allJava
325325
}
326326

@@ -331,7 +331,7 @@ subprojects { subproject ->
331331

332332
checkstyle {
333333
configFile = file("$rootDir/src/checkstyle/checkstyle.xml")
334-
toolVersion = '8.24'
334+
toolVersion = '8.25'
335335
}
336336

337337
artifacts {
@@ -342,7 +342,7 @@ subprojects { subproject ->
342342
jar {
343343
manifest {
344344
attributes(
345-
'Implementation-Version': version,
345+
'Implementation-Version': project.version,
346346
'Created-By': "JDK ${System.properties['java.version']} (${System.properties['java.specification.vendor']})",
347347
'Implementation-Title': subproject.name,
348348
'Implementation-Vendor-Id': subproject.group,
@@ -879,7 +879,7 @@ task checkAsciidocLinks {
879879
inputs.files.filter{ f -> f.path.endsWith('.adoc') }.each { file ->
880880
def doc = file.text
881881
def anchors = new HashSet<>()
882-
def matcher = (doc =~ /\[\[([^]]+)\]\]/)
882+
def matcher = (doc =~ /\[\[([^]]+)]]/)
883883
while (matcher.find()) {
884884
anchors.add(matcher.group(1))
885885
}
@@ -998,14 +998,14 @@ task api(type: Javadoc) {
998998

999999
task schemaZip(type: Zip) {
10001000
group = 'Distribution'
1001-
classifier = 'schema'
1002-
description = "Builds -${classifier} archive containing all " +
1001+
archiveClassifier = 'schema'
1002+
description = "Builds -${archiveClassifier} archive containing all " +
10031003
"XSDs for deployment at static.springframework.org/schema."
10041004

10051005
duplicatesStrategy = 'exclude'
10061006

10071007
subprojects.findAll{ !it.name.endsWith('-bom') }.each { subproject ->
1008-
def Properties schemas = new Properties();
1008+
Properties schemas = new Properties();
10091009
def shortName = subproject.name.replaceFirst("${rootProject.name}-", '')
10101010
if (subproject.name.endsWith("-core")) {
10111011
shortName = ''
@@ -1029,8 +1029,8 @@ task schemaZip(type: Zip) {
10291029

10301030
task docsZip(type: Zip, dependsOn: reference) {
10311031
group = 'Distribution'
1032-
classifier = 'docs'
1033-
description = "Builds -${classifier} archive containing api and reference " +
1032+
archiveClassifier = 'docs'
1033+
description = "Builds -${archiveClassifier} archive containing api and reference " +
10341034
"for deployment at static.springframework.org/spring-integration/docs."
10351035

10361036
from('src/dist') {
@@ -1054,8 +1054,8 @@ task docsZip(type: Zip, dependsOn: reference) {
10541054

10551055
task distZip(type: Zip, dependsOn: [docsZip, schemaZip]) {
10561056
group = 'Distribution'
1057-
classifier = 'dist'
1058-
description = "Builds -${classifier} archive, containing all jars and docs, " +
1057+
archiveClassifier = 'dist'
1058+
description = "Builds -${archiveClassifier} archive, containing all jars and docs, " +
10591059
"suitable for community download page."
10601060

10611061
ext.baseDir = "${project.name}-${project.version}";
@@ -1068,11 +1068,11 @@ task distZip(type: Zip, dependsOn: [docsZip, schemaZip]) {
10681068
expand(copyright: new Date().format("yyyy"), version: project.version)
10691069
}
10701070

1071-
from(zipTree(docsZip.archivePath)) {
1071+
from(zipTree(docsZip.archiveFile)) {
10721072
into "${baseDir}/docs"
10731073
}
10741074

1075-
from(zipTree(schemaZip.archivePath)) {
1075+
from(zipTree(schemaZip.archiveFile)) {
10761076
into "${baseDir}/schema"
10771077
}
10781078

@@ -1089,11 +1089,11 @@ task distZip(type: Zip, dependsOn: [docsZip, schemaZip]) {
10891089
// Not published by default; only for use when building from source.
10901090
task depsZip(type: Zip, dependsOn: distZip) { zipTask ->
10911091
group = 'Distribution'
1092-
classifier = 'dist-with-deps'
1093-
description = "Builds -${classifier} archive, containing everything " +
1094-
"in the -${distZip.classifier} archive plus all dependencies."
1092+
archiveClassifier = 'dist-with-deps'
1093+
description = "Builds -${archiveClassifier} archive, containing everything " +
1094+
"in the -${distZip.archiveClassifier} archive plus all dependencies."
10951095

1096-
from zipTree(distZip.archivePath)
1096+
from zipTree(distZip.archiveFile)
10971097

10981098
gradle.taskGraph.whenReady { taskGraph ->
10991099
if (taskGraph.hasTask(":${zipTask.name}")) {

spring-integration-core/src/test/java/org/springframework/integration/config/SourcePollingChannelAdapterFactoryBeanTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import static org.mockito.Mockito.mock;
2424
import static org.mockito.Mockito.spy;
2525
import static org.mockito.Mockito.verify;
26-
import static org.mockito.Mockito.verifyZeroInteractions;
26+
import static org.mockito.Mockito.verifyNoInteractions;
2727
import static org.mockito.Mockito.when;
2828

2929
import java.util.ArrayList;
@@ -66,7 +66,7 @@
6666
public class SourcePollingChannelAdapterFactoryBeanTests {
6767

6868
@Test
69-
public void testAdviceChain() throws Exception {
69+
public void testAdviceChain() {
7070
SourcePollingChannelAdapterFactoryBean factoryBean = new SourcePollingChannelAdapterFactoryBean();
7171
QueueChannel outputChannel = new QueueChannel();
7272
TestApplicationContext context = TestUtils.createTestApplicationContext();
@@ -186,7 +186,7 @@ public void testInterrupted() throws Exception {
186186

187187
taskScheduler.shutdown();
188188

189-
verifyZeroInteractions(errorHandlerLogger);
189+
verifyNoInteractions(errorHandlerLogger);
190190
verify(adapterLogger).debug(contains("Poll interrupted - during stop()?"));
191191
}
192192

0 commit comments

Comments
 (0)