@@ -32,13 +32,14 @@ repositories {
32
32
ext {
33
33
assertjVersion = ' 3.23.1'
34
34
awaitilityVersion = ' 4.2.0'
35
+ awsSdkVersion = ' 2.20.22'
35
36
jacksonVersion = ' 2.14.1'
36
37
junitVersion = ' 5.9.1'
37
38
servletApiVersion = ' 6.0.0'
38
39
log4jVersion = ' 2.19.0'
39
- springCloudAwsVersion = ' 2.4.2 '
40
- springIntegrationVersion = ' 6.0.3 '
41
- kinesisClientVersion = ' 1.14.9 '
40
+ springCloudAwsVersion = ' 3.0.0-RC1 '
41
+ springIntegrationVersion = ' 6.1.0-SNAPSHOT '
42
+ kinesisClientVersion = ' 2.4.5 '
42
43
kinesisProducerVersion = ' 0.14.13'
43
44
testcontainersVersion = ' 1.17.6'
44
45
51
52
linkScmConnection = ' https://github.com/spring-projects/spring-integration-aws.git'
52
53
linkScmDevConnection
= ' [email protected] :spring-projects/spring-integration-aws.git'
53
54
54
- modifiedFiles = files(grgit. status(). unstaged. modified). filter{ f -> f. name. endsWith(' .java' ) }
55
+ modifiedFiles = files(grgit. status(). unstaged. modified). filter { f -> f. name. endsWith(' .java' ) }
55
56
}
56
57
57
58
ext. javadocLinks = [
@@ -88,6 +89,7 @@ dependencyManagement {
88
89
}
89
90
imports {
90
91
mavenBom " io.awspring.cloud:spring-cloud-aws-dependencies:$springCloudAwsVersion "
92
+ mavenBom " software.amazon.awssdk:bom:$awsSdkVersion "
91
93
mavenBom " org.springframework.integration:spring-integration-bom:$springIntegrationVersion "
92
94
mavenBom " com.fasterxml.jackson:jackson-bom:$jacksonVersion "
93
95
mavenBom " org.junit:junit-bom:$junitVersion "
@@ -97,38 +99,41 @@ dependencyManagement {
97
99
}
98
100
99
101
jacoco {
100
- toolVersion = ' 0.8.7 '
102
+ toolVersion = ' 0.8.8 '
101
103
}
102
104
103
105
checkstyle {
104
106
configDirectory. set(rootProject. file(' src/checkstyle' ))
105
- toolVersion = ' 10.7 .0'
107
+ toolVersion = ' 10.8 .0'
106
108
}
107
109
108
110
dependencies {
109
111
api ' org.springframework.integration:spring-integration-core'
110
112
api ' io.awspring.cloud:spring-cloud-aws-core'
111
113
api ' com.fasterxml.jackson.core:jackson-databind'
112
114
113
- optionalApi ' io.awspring.cloud:spring-cloud-aws-messaging'
115
+ optionalApi ' io.awspring.cloud:spring-cloud-aws-sns'
116
+ optionalApi ' io.awspring.cloud:spring-cloud-aws-sqs'
117
+ optionalApi ' io.awspring.cloud:spring-cloud-aws-s3'
114
118
optionalApi ' org.springframework.integration:spring-integration-file'
115
119
optionalApi ' org.springframework.integration:spring-integration-http'
116
120
117
- optionalApi " com.amazonaws :amazon-kinesis-client:$kinesisClientVersion "
121
+ optionalApi " software.amazon.kinesis :amazon-kinesis-client:$kinesisClientVersion "
118
122
optionalApi " com.amazonaws:amazon-kinesis-producer:$kinesisProducerVersion "
119
123
120
- optionalApi ' com.amazonaws:aws-java-sdk-kinesis'
121
- optionalApi ' com.amazonaws:aws-java-sdk-dynamodb'
124
+ optionalApi ' software.amazon.awssdk:kinesis'
125
+ optionalApi ' software.amazon.awssdk:dynamodb'
126
+ optionalApi ' software.amazon.awssdk:s3-transfer-manager'
122
127
123
128
optionalApi " jakarta.servlet:jakarta.servlet-api:$servletApiVersion "
124
129
125
- testImplementation (' org.springframework.integration:spring-integration-test' ) {
130
+ testImplementation(' org.springframework.integration:spring-integration-test' ) {
126
131
exclude group : ' junit'
127
132
}
128
133
129
134
testImplementation " org.assertj:assertj-core:$assertjVersion "
130
135
131
- testImplementation (" org.awaitility:awaitility:$awaitilityVersion " ) {
136
+ testImplementation(" org.awaitility:awaitility:$awaitilityVersion " ) {
132
137
exclude group : ' org.hamcrest'
133
138
}
134
139
testImplementation ' org.junit.jupiter:junit-jupiter-api'
@@ -177,16 +182,16 @@ test {
177
182
jacoco {
178
183
destinationFile = file(" $buildDir /jacoco.exec" )
179
184
}
180
- useJUnitPlatform()
181
- // suppress all console output during testing unless running `gradle -i`
182
- logging. captureStandardOutput(LogLevel . INFO )
185
+ useJUnitPlatform()
186
+ // suppress all console output during testing unless running `gradle -i`
187
+ logging. captureStandardOutput(LogLevel . INFO )
183
188
}
184
189
185
190
jacocoTestReport {
186
191
reports {
187
- xml . enabled false
188
- csv . enabled false
189
- html . destination file(" $buildDir /reports/jacoco/html " )
192
+ csv . required = false
193
+ html . required = false
194
+ xml . outputLocation = file(" ${ buildDir} /reports/jacoco/test/jacocoTestReport.xml " )
190
195
}
191
196
}
192
197
@@ -237,32 +242,6 @@ sonarqube {
237
242
}
238
243
}
239
244
240
- task schemaZip (type : Zip ) {
241
- group = ' Distribution'
242
- archiveClassifier = ' schema'
243
- description = " Builds -${ archiveClassifier} archive containing all " +
244
- " XSDs for deployment at static.springframework.org/schema."
245
-
246
- duplicatesStrategy = DuplicatesStrategy . EXCLUDE
247
-
248
- Properties schemas = new Properties ();
249
- def shortName = idPrefix. replaceFirst(" ${ idPrefix} -" , ' ' )
250
-
251
- project. sourceSets. main. resources. find {
252
- it. path. endsWith(" META-INF${ File.separator} spring.schemas" )
253
- }?. withInputStream { schemas. load(it) }
254
-
255
- for (def key : schemas. keySet()) {
256
- File xsdFile = project. sourceSets. main. resources. find {
257
- it. path. replaceAll(' \\\\ ' , ' /' ). endsWith(schemas. get(key))
258
- }
259
- assert xsdFile != null
260
- into(" integration/${ shortName} " ) {
261
- from xsdFile. path
262
- }
263
- }
264
- }
265
-
266
245
task docsZip (type : Zip ) {
267
246
group = ' Distribution'
268
247
archiveClassifier = ' docs'
@@ -278,7 +257,7 @@ task docsZip(type: Zip) {
278
257
}
279
258
}
280
259
281
- task distZip (type : Zip , dependsOn : [ docsZip, schemaZip] ) {
260
+ task distZip (type : Zip , dependsOn : docsZip) {
282
261
group = ' Distribution'
283
262
archiveClassifier = ' dist'
284
263
description = " Builds -${ archiveClassifier} archive, containing all jars and docs, " +
@@ -297,10 +276,6 @@ task distZip(type: Zip, dependsOn: [docsZip, schemaZip]) {
297
276
into " ${ baseDir} "
298
277
}
299
278
300
- from(zipTree(schemaZip. archiveFile)) {
301
- into " ${ baseDir} /schema"
302
- }
303
-
304
279
into(" ${ baseDir} /libs" ) {
305
280
from project. jar
306
281
from project. sourcesJar
@@ -310,7 +285,7 @@ task distZip(type: Zip, dependsOn: [docsZip, schemaZip]) {
310
285
311
286
task dist (dependsOn : assemble) {
312
287
group = ' Distribution'
313
- description = ' Builds -dist, -docs and -schema distribution archives.'
288
+ description = ' Builds -dist and -docs distribution archives.'
314
289
}
315
290
316
291
apply from : " ${ rootProject.projectDir} /publish-maven.gradle"
0 commit comments